/* -------------------------------------------------------------
 * Clean, Standard, Professional Corporate Portfolio CSS
 * ----------------------------------------------------------- */
:root {
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-sub: #475569;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --accent-glow: rgba(37, 99, 235, 0.1);
  --border-color: #e2e8f0;
  --border-color-hover: rgba(37, 99, 235, 0.4);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius-lg: 16px;
  --radius-md: 8px;
  --radius-pill: 9999px;
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  --container-max: 1100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100vw;
  background-color: #0f172a;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: clip;
  position: relative;
  max-width: 100vw;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* NAVBAR - ULTRA-MODERN ANIMATED FROSTED FLOATING DOCK */
.navbar {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 1320px;
  background: linear-gradient(135deg, rgba(10, 15, 30, 0.9) 0%, rgba(15, 23, 42, 0.88) 100%);
  backdrop-filter: blur(24px) saturate(185%);
  -webkit-backdrop-filter: blur(24px) saturate(185%);
  z-index: 1000;
  border: 1px solid rgba(96, 165, 250, 0.28);
  border-radius: 999px;
  padding: 6px 8px 6px 12px;
  box-shadow:
    0 14px 36px -8px rgba(0, 0, 0, 0.55),
    0 0 24px -6px rgba(37, 99, 235, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, top 0.3s ease;
}

/* Animated Glowing Laser Beam Along Top Edge of Navbar */
.nav-top-beam {
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1.5px;
  border-radius: 999px;
  overflow: hidden;
  pointer-events: none;
}

.nav-top-beam::after {
  content: '';
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #38bdf8, #818cf8, #38bdf8, transparent);
  animation: navLaserSweep 4.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes navLaserSweep {
  0% {
    left: -40%;
  }
  100% {
    left: 105%;
  }
}

.navbar.scrolled {
  top: 10px;
  background: rgba(8, 12, 26, 0.95);
  border-color: rgba(59, 130, 246, 0.42);
  box-shadow:
    0 16px 42px -6px rgba(0, 0, 0, 0.7),
    0 0 24px -4px rgba(59, 130, 246, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.nav-container {
  max-width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

/* Brand Identity Pill on the Left */
.nav-logo {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f8fafc;
  white-space: nowrap;
  min-width: 0;
  max-width: calc(100% - 50px);
  text-decoration: none;
  letter-spacing: -0.01em;
  padding: 3px 10px 3px 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: all 0.28s ease;
  flex-shrink: 1;
}

.nav-logo:hover {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(96, 165, 250, 0.35);
}

.logo-accent {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  border-radius: 50%;
  border: 1px solid rgba(147, 197, 253, 0.45);
  box-shadow:
    0 4px 12px rgba(37, 99, 235, 0.45),
    inset 0 1px 1px rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.nav-logo:hover .logo-accent {
  transform: rotate(-8deg) scale(1.05);
}

/* Pulsing Online Dot on Navbar Logo */
.logo-live-dot {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  border: 1.5px solid #0b1120;
  box-shadow: 0 0 6px #10b981;
}

.nav-brand-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding-right: 4px;
}

.nav-logo-text {
  font-size: 0.88rem;
  font-weight: 700;
  background: linear-gradient(180deg, #ffffff 30%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex-shrink: 1;
}

.nav-verified-icon {
  color: #38bdf8;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 1px;
  filter: drop-shadow(0 0 4px rgba(56, 189, 248, 0.35));
}

/* Desktop Navigation Inner Dock */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 3px 4px 3px 6px;
  border-radius: 999px;
}

.nav-links a:not(.btn-nav) {
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 6px 11px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Hide icons on desktop to keep horizontal bar super clean; show on mobile drawer */
.nav-item-icon {
  display: none;
}

/* Glowing Indicator Dot Below Active/Hovered Link on Desktop */
.nav-links a:not(.btn-nav)::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #38bdf8, #818cf8);
  box-shadow: 0 0 8px #38bdf8;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:not(.btn-nav):hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
}

.nav-links a:not(.btn-nav):hover::after {
  transform: translateX(-50%) scaleX(0.7);
}

.nav-links a:not(.btn-nav).active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.25) 0%, rgba(79, 70, 229, 0.22) 100%);
  box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.38);
}

.nav-links a:not(.btn-nav).active::after {
  transform: translateX(-50%) scaleX(1);
}

/* Animated CTA Button inside Navbar */
.btn-nav {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%) !important;
  color: #ffffff !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  padding: 6px 6px 6px 14px !important;
  border-radius: 999px !important;
  box-shadow:
    0 4px 16px rgba(37, 99, 235, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  text-decoration: none;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  margin-left: 6px;
  border: 1px solid rgba(147, 197, 253, 0.3) !important;
}

.btn-nav-shine {
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-20deg);
  animation: navBtnSweep 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes navBtnSweep {
  0% {
    left: -120%;
  }
  40%, 100% {
    left: 160%;
  }
}

.btn-nav-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  transition: transform 0.28s ease, background 0.28s ease;
}

.btn-nav:hover {
  transform: translateY(-1px);
  box-shadow:
    0 8px 22px rgba(37, 99, 235, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
  color: #ffffff !important;
}

.btn-nav:hover .btn-nav-icon {
  transform: translateX(2px) rotate(8deg);
  background: rgba(255, 255, 255, 0.28);
}

/* Modern Hamburger Toggle Button */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 1rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.nav-toggle:hover {
  background: rgba(59, 130, 246, 0.25);
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 0 14px rgba(59, 130, 246, 0.4);
}

@media (max-width: 1120px) {

  .navbar,
  .navbar.scrolled {
    width: 100% !important;
    max-width: 100% !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    border-radius: 0 0 18px 18px !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    border-bottom: 1px solid rgba(59, 130, 246, 0.32) !important;
    background: rgba(8, 12, 26, 0.96) !important;
    padding: 9px 16px !important;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.7), 0 0 15px rgba(59, 130, 246, 0.15) !important;
  }

  .nav-top-beam {
    top: auto;
    bottom: 0;
    left: 10%;
    right: 10%;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-logo {
    max-width: calc(100% - 48px);
    padding: 2px 8px 2px 2px;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: 12px;
    right: 12px;
    width: auto;
    background: linear-gradient(180deg, rgba(11, 17, 33, 0.98) 0%, rgba(15, 23, 42, 0.98) 100%);
    backdrop-filter: blur(28px) saturate(190%);
    -webkit-backdrop-filter: blur(28px) saturate(190%);
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 20px;
    padding: 14px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    box-shadow: 0 24px 48px -10px rgba(0, 0, 0, 0.85);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.98);
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 999;
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .nav-links a:not(.btn-nav) {
    padding: 10px 12px;
    font-size: 0.82rem;
    border-radius: 12px;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    gap: 9px;
  }

  .nav-links a:not(.btn-nav)::after {
    display: none;
  }

  .nav-item-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 7px;
    background: rgba(59, 130, 246, 0.16);
    color: #60a5fa;
    font-size: 0.72rem;
    flex-shrink: 0;
  }

  .nav-links a:not(.btn-nav):hover,
  .nav-links a:not(.btn-nav).active {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(96, 165, 250, 0.4);
  }

  .nav-links a:not(.btn-nav).active .nav-item-icon {
    background: #2563eb;
    color: #ffffff;
  }

  .btn-nav {
    grid-column: span 2;
    margin-left: 0 !important;
    margin-top: 4px;
    justify-content: center;
    width: 100% !important;
    padding: 10px 16px !important;
  }
}

@media (max-width: 480px) {

  .navbar,
  .navbar.scrolled {
    padding: 8px 12px !important;
  }

  .nav-logo-text {
    font-size: 0.82rem;
  }

  .logo-accent {
    width: 28px;
    height: 28px;
    font-size: 0.7rem;
  }

  .nav-toggle {
    width: 34px;
    height: 34px;
    font-size: 0.92rem;
  }
}

/* HERO - MODERN ANIMATED EXECUTIVE SHOWCASE */
.hero-section {
  padding: 0;
  position: relative;
  background-color: #0b1120;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  min-height: 100vh;
}

/* Background Video Cover */
.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 12, 26, 0.85) 0%, rgba(15, 23, 42, 0.72) 55%, rgba(15, 23, 42, 0.82) 100%);
  backdrop-filter: blur(3px);
  z-index: 1;
}

/* Ambient Animated Cyber Orbs & Grid Mesh */
.hero-ambient-effects {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.hero-grid-mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.32;
  animation: heroOrbFloat 9s ease-in-out infinite alternate;
}

.hero-orb-blue {
  width: 340px;
  height: 340px;
  background: #2563eb;
  top: 10%;
  left: -80px;
}

.hero-orb-indigo {
  width: 300px;
  height: 300px;
  background: #6366f1;
  bottom: 8%;
  left: 32%;
  animation-delay: -3s;
}

.hero-orb-cyan {
  width: 280px;
  height: 280px;
  background: #06b6d4;
  top: 16%;
  right: 8%;
  animation-delay: -5.5s;
}

@keyframes heroOrbFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(28px, -24px) scale(1.12);
  }
}

.hero-container {
  max-width: 1536px;
  width: 95%;
  min-height: 100vh;
  margin: 0 auto;
  padding: 100px 0 0;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  width: 75%;
  max-width: 960px;
  position: relative;
  z-index: 3;
  padding-bottom: 50px;
}

/* Greeting & Verified Tag Row */
.hero-badge-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hero-greeting {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #93c5fd;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.25) 0%, rgba(79, 70, 229, 0.2) 100%);
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(96, 165, 250, 0.4);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.22);
  backdrop-filter: blur(8px);
}

.greeting-sparkle {
  color: #38bdf8;
  display: inline-flex;
  animation: heroSparkleSpin 3s ease-in-out infinite;
}

@keyframes heroSparkleSpin {
  0%, 100% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.2) rotate(15deg);
  }
}

.hero-verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 6px 13px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.hero-verified-tag i {
  color: #38bdf8;
  font-size: 0.78rem;
}

/* Animated Shimmer Gradient Title */
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.8vw, 3.9rem);
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 14px;
  background: linear-gradient(90deg, #ffffff 0%, #e0f2fe 30%, #93c5fd 55%, #ffffff 85%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
  animation: heroTitleShimmer 6s linear infinite;
  filter: drop-shadow(0 4px 18px rgba(15, 23, 42, 0.45));
}

@keyframes heroTitleShimmer {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

/* Role Pill Row */
.hero-role-row {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(147, 197, 253, 0.25);
  padding: 6px 15px 6px 10px;
  border-radius: 12px;
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
}

.hero-role-icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.74rem;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
  flex-shrink: 0;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: #bae6fd;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.02em;
}

.hero-desc {
  color: #cbd5e1;
  font-size: 1.04rem;
  margin-bottom: 28px;
  max-width: 560px;
  line-height: 1.72;
  opacity: 0.92;
}

/* Hero CTA Buttons */
.hero-cta {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 22px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  font-size: 0.92rem;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
  color: #fff;
  box-shadow: 0 8px 20px -4px rgba(37, 99, 235, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #4338ca 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -4px rgba(37, 99, 235, 0.65);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
}

.btn-resume {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 8px 20px -4px rgba(16, 185, 129, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-resume:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -4px rgba(16, 185, 129, 0.55);
}

/* Status Badge with Animated Light Sweep */
.hero-status-badge-wrap {
  display: flex;
  align-items: center;
  margin-top: 0;
  margin-bottom: 18px;
}

.hero-status-badge {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.42);
  color: #6ee7b7;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.16);
}

.status-badge-shine {
  position: absolute;
  top: 0;
  left: -120%;
  width: 65%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: skewX(-20deg);
  animation: heroBadgeSweep 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes heroBadgeSweep {
  0% {
    left: -120%;
  }
  45%, 100% {
    left: 160%;
  }
}

.status-pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Hero Social Links */
.hero-social {
  display: flex;
  gap: 10px;
  align-items: center;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  font-size: 1.05rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-icon:hover {
  background: #2563eb;
  color: #fff;
  border-color: #60a5fa;
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.38);
}

.social-icon.social-wa:hover {
  background: #10b981;
  border-color: #6ee7b7;
  box-shadow: 0 8px 18px rgba(16, 185, 129, 0.38);
}

.social-icon.social-ig:hover {
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
  border-color: #f472b6;
  box-shadow: 0 8px 18px rgba(236, 72, 153, 0.38);
}

/* Hero Avatar Box with Ambient Glowing Halo */
.hero-avatar-box {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 45%;
  max-width: 700px;
  min-width: 400px;
  z-index: 2;
  line-height: 0;
}

.hero-avatar-box::before {
  display: none !important;
}

.hero-avatar-halo {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.28) 0%, rgba(99, 102, 241, 0.14) 45%, transparent 72%);
  filter: blur(26px);
  pointer-events: none;
  z-index: 1;
  animation: avatarHaloPulse 5s ease-in-out infinite alternate;
}

@keyframes avatarHaloPulse {
  0% {
    transform: translateX(-50%) scale(0.92);
    opacity: 0.7;
  }
  100% {
    transform: translateX(-50%) scale(1.08);
    opacity: 1;
  }
}

.hero-avatar {
  width: 100%;
  height: auto;
  max-height: calc(100vh - 130px);
  object-fit: contain;
  object-position: bottom right;
  filter: none;
  position: relative;
  z-index: 2;
  transition: transform 0.4s ease;
  display: block;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 65%, rgba(0, 0, 0, 0.6) 80%, rgba(0, 0, 0, 0.2) 92%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 65%, rgba(0, 0, 0, 0.6) 80%, rgba(0, 0, 0, 0.2) 92%, transparent 100%);
}

.hero-avatar-box:hover .hero-avatar {
  transform: translateY(-4px);
}

/* Removed Floating Badges CSS */

/* SECTIONS */
.section {
  padding: 80px 0;
}

.section-header {
  margin-bottom: 42px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px 12px 0;
}

/* Subtle Ambient Halo Behind Section Header */
.section-header::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 70px;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.08) 0%, rgba(99, 102, 241, 0.04) 50%, transparent 75%);
  filter: blur(12px);
  pointer-events: none;
  z-index: 0;
}

.section-tag {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
  color: #1d4ed8;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 5px 14px 5px 11px;
  border-radius: 999px;
  border: 1px solid #bfdbfe;
  margin: 0 auto 10px;
  box-shadow: 0 4px 14px -3px rgba(37, 99, 235, 0.14), inset 0 1px 0 #ffffff;
  width: fit-content;
}

.section-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16);
  flex-shrink: 0;
}

.section-title {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 3.4vw, 2.25rem);
  font-weight: 800;
  background: linear-gradient(135deg, #0f172a 15%, #1e3a8a 65%, #2563eb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--text-main);
  letter-spacing: -0.025em;
  line-height: 1.22;
  display: inline-block;
  margin: 0 auto;
  padding-bottom: 15px;
  text-align: center;
}

/* Symmetrical Tapered Gradient Line Under Title */
.section-title::before {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent 0%, rgba(37, 99, 235, 0.35) 25%, rgba(99, 102, 241, 0.35) 75%, transparent 100%);
}

/* Glowing Center Capsule Accent on the Line */
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0.5px;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2563eb 0%, #06b6d4 50%, #6366f1 100%);
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.35);
}

/* CARDS COMMON */
.card-common {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: all 0.3s;
}

.card-common:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

/* ABOUT MODERN REVAMP */
/* ABOUT MODERN REVAMP */
.about-section {
  position: relative;
  overflow: visible;
  padding: 80px 0;
  background: radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(99, 102, 241, 0.04) 0%, transparent 45%);
}

.about-container-wide {
  max-width: 1320px;
  width: 95%;
  margin: 0 auto;
}

.about-modern-grid {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 32px;
  align-items: stretch;
}

/* 3D Profile ID Card (Floating Lanyard Badge) */
.about-3d-card-wrapper {
  perspective: none;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding-top: 98px;
  /* Clean breathing room for the V-lanyard strap hanging down */
}

/* Upper V-Neck Lanyard & Buckle: Stationary at the Top */
.lanyard-upper-fixed {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 74px;
  height: 76px;
  background: transparent;
  z-index: 13;
  pointer-events: none;
  filter: drop-shadow(0 5px 12px rgba(15, 23, 42, 0.22));
}

.lanyard-svg-upper {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Lower Black Lanyard Tab below Buckle: Extends cleanly like real woven strap (no rubbery distortion) */
.badge-lanyard-strap {
  position: absolute;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  width: 74px;
  height: 28px;
  background: transparent;
  z-index: 12;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  transform-origin: 50% 0%;
  /* Pivots right inside the bottom loop of the grey buckle */
  animation: lanyardStrapFloat 4.5s ease-in-out infinite alternate;
  will-change: height, transform;
  filter: drop-shadow(0 4px 8px rgba(15, 23, 42, 0.2));
}

/* Woven Black Strap Body that extends out of the buckle without stretching any graphics */
.lanyard-cord-extender {
  width: 17.2px;
  flex: 1 1 auto;
  min-height: 10px;
  margin-top: -6px;
  margin-bottom: -2px;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.03) 0px,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 3px
    ),
    linear-gradient(90deg, #090d16 0%, #1e293b 8%, #090d16 20%, #090d16 80%, #1e293b 92%, #090d16 100%);
}

/* Fixed-Ratio Bottom Logo Tip (Never stretches or deforms when pulled) */
.lanyard-svg-lower {
  display: block;
  width: 100%;
  height: 22px;
  flex: 0 0 22px;
  overflow: visible;
}

@keyframes lanyardStrapFloat {
  0% {
    height: 28px;
    transform: translateX(-50%);
  }

  50% {
    height: 20px;
    /* Matches card translateY(-8px) */
    transform: translateX(-50%);
  }

  100% {
    height: 30px;
    /* Matches card translateY(2px) */
    transform: translateX(-50%);
  }
}

@keyframes lanyardCardFloat {
  0% {
    transform: translateY(0px);
    box-shadow: 0 18px 40px -12px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(226, 232, 240, 0.6);
  }

  50% {
    transform: translateY(-8px);
    box-shadow: 0 28px 50px -10px rgba(37, 99, 235, 0.16), 0 0 0 1px rgba(59, 130, 246, 0.25);
  }

  100% {
    transform: translateY(2px);
    box-shadow: 0 16px 36px -12px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(226, 232, 240, 0.6);
  }
}

/* Remove old pseudo-element clip since SVG includes the realistic buckle & lower tab */
.badge-lanyard-strap::after {
  display: none;
}

/* Metal Clamp: Fixed directly to the top edge of the card, clips into punch hole */
.badge-metal-clamp {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 25;
  pointer-events: none;
}

.clamp-metal-ring {
  width: 12px;
  height: 12px;
  border: 2px solid #cbd5e1;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25), inset 0 1px 2px #ffffff;
  background: transparent;
  margin-bottom: -3px;
}

.clamp-buckle {
  width: 18px;
  height: 13px;
  background: linear-gradient(180deg, #f8fafc 0%, #cbd5e1 50%, #94a3b8 100%);
  border-radius: 3px;
  border: 1px solid #64748b;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25), inset 0 1px 1px #ffffff;
}

/* Badge Header Band & Punch Slot (Modern Corporate Tech Badge) */
.badge-header-band {
  width: 100%;
  padding: 9px 14px 4px;
  background: transparent;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 4;
}

.badge-punch-hole {
  width: 34px;
  height: 6px;
  background: #090d16;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.85);
  z-index: 10;
}

.badge-top-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.badge-corp-brand {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.corp-logo-mark {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.58rem;
  backdrop-filter: blur(4px);
}

.corp-brand-text {
  font-size: 0.54rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* 3D Floating Name Tag Card - Modern Executive Corporate ID Card */
.about-3d-card {
  position: relative;
  width: 100%;
  max-width: 246px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 0;
  text-align: center;
  box-shadow: 0 20px 40px -12px rgba(15, 23, 42, 0.16),
    0 4px 12px rgba(15, 23, 42, 0.06);
  /* Keep flat compositing so browser renders avatar image at native retina resolution without 3D texture blur */
  transform-style: flat;
  -webkit-font-smoothing: antialiased;
  animation: lanyardCardFloat 4.5s ease-in-out infinite alternate;
  transform-origin: 50% 0px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

/* Geometric Vector Background Layer */
.card-geometric-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Subtle Top Rim Gloss (Stopped above the photo so it never hazes the avatar) */
.about-3d-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 54px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
  border-radius: 18px 18px 0 0;
}

.about-3d-card.is-dragging,
.about-3d-card.is-springing {
  cursor: grabbing !important;
  animation: none !important;
  transition: none !important;
  box-shadow: 0 35px 70px -10px rgba(37, 99, 235, 0.32), 0 0 0 2px rgba(59, 130, 246, 0.4) !important;
}

.badge-lanyard-strap.is-dragging,
.badge-lanyard-strap.is-springing {
  animation: none !important;
  transition: none !important;
}

.card-glow,
.card-mesh-bg {
  display: none !important;
}

.card-content-3d {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Centered Portrait Photo with Clean Double Ring overlapping Header & White Body */
.avatar-ring-wrapper {
  position: relative;
  width: 146px;
  height: 168px;
  margin: 4px auto 10px;
  padding: 4px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 10px 24px -4px rgba(15, 23, 42, 0.22),
    0 0 0 1px rgba(226, 232, 240, 0.9);
  z-index: 5;
}

.about-3d-avatar {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  object-fit: cover;
  object-position: center 12%;
  border: none;
  background: #1e3a8a;
  filter: none;
  image-rendering: auto;
}

.about-3d-card:hover .about-3d-avatar {
  transform: none;
}

/* Verified Check Badge on Bottom-Right Corner of Avatar */
.avatar-verified-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
  color: #ffffff;
  border: 2.5px solid #ffffff;
  font-size: 0.58rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(37, 99, 235, 0.35);
  z-index: 5;
}

/* Status Pill neatly positioned in Top-Right Header Bar */
.avatar-status-pill {
  position: relative;
  background: rgba(16, 185, 129, 0.18);
  color: #ecfdf5;
  font-size: 0.54rem;
  font-weight: 700;
  padding: 2.5px 8px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  border: 1px solid rgba(52, 211, 153, 0.4);
  backdrop-filter: blur(4px);
  z-index: 5;
}

.live-pulse-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 5px rgba(52, 211, 153, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
  }
}

/* Clean Identity Section on Crisp White Card Body */
.badge-identity-section {
  width: 100%;
  padding: 2px 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  z-index: 4;
}

.about-3d-name {
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.25;
  max-width: 100%;
  display: block;
  text-align: center;
}

.about-3d-role {
  margin: 0;
}

.about-3d-role span {
  display: inline-block;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.08) 0%, rgba(6, 182, 212, 0.12) 100%);
  color: #1d4ed8;
  border: 1px solid rgba(59, 130, 246, 0.2);
  padding: 2.5px 10px;
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* Subtle Corporate ID Code Pill */
.badge-id-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
  padding: 2px 8px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 6px;
  font-size: 0.52rem;
}

.badge-id-chip .chip-label {
  color: #64748b;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.badge-id-chip .chip-code {
  color: #0f172a;
  font-weight: 800;
  font-family: monospace;
  letter-spacing: 0.05em;
}

/* Clean Bottom Footer Strip with Social Icons & Website */
.badge-white-footer {
  width: 100%;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  padding: 9px 12px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 4;
  border-radius: 0 0 18px 18px;
}

.badge-website-url {
  font-size: 0.52rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.14em;
  text-transform: lowercase;
}

/* Social Buttons */
.about-3d-socials {
  display: flex;
  justify-content: center;
  gap: 7px;
}

.social-btn-brand {
  width: 27px;
  height: 27px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #ffffff;
  color: #334155;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  font-size: 0.78rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.social-btn-brand:hover {
  transform: translateY(-2px) scale(1.05);
  color: #ffffff;
  border-color: transparent;
}

.social-btn-brand.wa-btn:hover {
  background: #25d366;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.35);
}

.social-btn-brand.in-btn:hover {
  background: #0a66c2;
  box-shadow: 0 4px 10px rgba(10, 102, 194, 0.35);
}

.social-btn-brand.gh-btn:hover {
  background: #181717;
  box-shadow: 0 4px 10px rgba(24, 23, 23, 0.35);
}

.social-btn-brand.ig-btn:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  box-shadow: 0 4px 10px rgba(214, 36, 159, 0.35);
}

/* About Text Content */
.about-text-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Modern Executive Bio Card (Structured Bento Style with Connected Synergy Pipeline) */
.about-bio-box {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  background-image:
    radial-gradient(at 100% 0%, rgba(37, 99, 235, 0.06) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(16, 185, 129, 0.05) 0px, transparent 50%);
  padding: 22px 24px 20px;
  border-radius: 22px;
  border: 1.5px solid #e2e8f0;
  box-shadow:
    0 14px 34px -12px rgba(15, 23, 42, 0.07),
    0 2px 6px rgba(15, 23, 42, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Top Gradient Accent Line */
.about-bio-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #2563eb 0%, #6366f1 50%, #10b981 100%);
}

.about-bio-box:hover {
  transform: translateY(-2px);
  border-color: #93c5fd;
  box-shadow:
    0 20px 42px -12px rgba(37, 99, 235, 0.13),
    0 4px 10px rgba(15, 23, 42, 0.04);
}

/* Header Row inside Bio Box */
.bio-card-header {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-bottom: 13px;
  border-bottom: 1px solid #f1f5f9;
  position: relative;
  z-index: 2;
}

.quote-icon {
  position: relative;
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  font-size: 1.05rem;
  box-shadow:
    0 8px 18px -4px rgba(37, 99, 235, 0.4),
    inset 0 1px 1px rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.about-bio-box:hover .quote-icon {
  transform: scale(1.06) rotate(-5deg);
}

.bio-header-titles {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}

.bio-eyebrow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.bio-eyebrow {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  color: #2563eb;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 2px 8px;
  border-radius: 6px;
  text-transform: uppercase;
}

.bio-title {
  font-family: var(--font-heading);
  font-size: 1.04rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.bio-verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
  font-size: 0.65rem;
  font-weight: 700;
  white-space: nowrap;
}

.bio-verified-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
  animation: bioDotPulse 1.8s ease-in-out infinite;
}

@keyframes bioDotPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(1.3);
  }
}

.bio-verified-pill i {
  color: #10b981;
  font-size: 0.7rem;
}

/* Framed Bio Paragraph Body with Animated Flowing Left Spine */
.bio-body-wrap {
  position: relative;
  background: linear-gradient(90deg, rgba(239, 246, 255, 0.6) 0%, rgba(248, 250, 252, 0.85) 100%);
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 16px 14px 22px;
  z-index: 2;
  overflow: hidden;
}

/* Animated Connected Left Spine inside Bio Narrative Box */
.bio-spine-track {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 8px;
  width: 3px;
  background: #dbeafe;
  border-radius: 999px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.bio-spine-node {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2563eb;
  box-shadow: 0 0 0 2px #eff6ff;
  z-index: 2;
}

.bio-spine-node.node-bottom {
  background: #10b981;
  box-shadow: 0 0 0 2px #ecfdf5;
}

.bio-spine-beam {
  position: absolute;
  top: -35%;
  left: 0;
  width: 100%;
  height: 35%;
  background: linear-gradient(180deg, transparent, #2563eb, #6366f1, #10b981, transparent);
  border-radius: 999px;
  animation: bioSpineFlow 2.8s linear infinite;
}

@keyframes bioSpineFlow {
  0% {
    top: -35%;
  }
  100% {
    top: 105%;
  }
}

.about-lead {
  font-size: 0.9rem;
  color: #334155;
  line-height: 1.72;
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.005em;
}

/* Connected Synergy Pillar Pipeline Footer */
.bio-focus-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px dashed #e2e8f0;
  position: relative;
  z-index: 2;
}

.bio-synergy-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.bio-synergy-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #475569;
}

.bio-synergy-label i {
  color: #2563eb;
  font-size: 0.72rem;
}

.bio-synergy-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.64rem;
  font-weight: 700;
  color: #4f46e5;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  padding: 2px 8px;
  border-radius: 999px;
}

.synergy-live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4f46e5;
  box-shadow: 0 0 6px #4f46e5;
  animation: bioDotPulse 1.6s infinite;
}

/* Pipeline Container for the 3 Synergy Pillars */
.bio-focus-pipeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  align-items: stretch;
}

/* Animated Connecting Track Behind Chips */
.bio-pipeline-track {
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 3px;
  transform: translateY(-50%);
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
  z-index: 1;
}

.bio-pipeline-beam {
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #2563eb, #6366f1, #10b981, transparent);
  box-shadow: 0 0 10px rgba(79, 70, 229, 0.7);
  animation: bioPipelineHorizontal 2.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes bioPipelineHorizontal {
  0% {
    left: -40%;
  }
  100% {
    left: 105%;
  }
}

/* Individual Connected Pillar Chip */
.bio-focus-chip {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 12px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 4px 12px -4px rgba(15, 23, 42, 0.05);
  transition: all 0.28s ease;
  animation: bioChipHighlight 4.2s ease-in-out infinite;
  animation-delay: calc(var(--chip-idx, 0) * 1.1s);
}

@keyframes bioChipHighlight {
  0%, 100% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-2px);
  }
}

.chip-icon-box {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  flex-shrink: 0;
}

.chip-text-col {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1;
}

.chip-text-col small {
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.1;
}

.chip-text-col span {
  font-size: 0.72rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
}

.chip-flow-arrow {
  font-size: 0.68rem;
  color: #94a3b8;
  flex-shrink: 0;
  animation: bioArrowMove 1.5s ease-in-out infinite;
}

.chip-flow-check {
  font-size: 0.76rem;
  color: #10b981;
  flex-shrink: 0;
}

@keyframes bioArrowMove {
  0%, 100% {
    transform: translateX(0);
    opacity: 0.65;
  }
  50% {
    transform: translateX(3px);
    opacity: 1;
  }
}

/* Pillar Chip Themes */
.bio-focus-chip.chip-blue {
  border-color: #bfdbfe;
  background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
}
.bio-focus-chip.chip-blue .chip-icon-box {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #ffffff;
  box-shadow: 0 4px 10px -2px rgba(37, 99, 235, 0.35);
}
.bio-focus-chip.chip-blue .chip-text-col small,
.bio-focus-chip.chip-blue .chip-flow-arrow {
  color: #2563eb;
}

.bio-focus-chip.chip-indigo {
  border-color: #c7d2fe;
  background: linear-gradient(135deg, #ffffff 0%, #eef2ff 100%);
}
.bio-focus-chip.chip-indigo .chip-icon-box {
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  color: #ffffff;
  box-shadow: 0 4px 10px -2px rgba(79, 70, 229, 0.35);
}
.bio-focus-chip.chip-indigo .chip-text-col small,
.bio-focus-chip.chip-indigo .chip-flow-arrow {
  color: #4f46e5;
}

.bio-focus-chip.chip-emerald {
  border-color: #a7f3d0;
  background: linear-gradient(135deg, #ffffff 0%, #ecfdf5 100%);
}
.bio-focus-chip.chip-emerald .chip-icon-box {
  background: linear-gradient(135deg, #059669, #10b981);
  color: #ffffff;
  box-shadow: 0 4px 10px -2px rgba(16, 185, 129, 0.35);
}
.bio-focus-chip.chip-emerald .chip-text-col small {
  color: #059669;
}

.bio-focus-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px -6px rgba(37, 99, 235, 0.16);
}

.bio-watermark-quote {
  position: absolute;
  right: 18px;
  top: 62px;
  font-size: 3.4rem;
  color: rgba(37, 99, 235, 0.04);
  pointer-events: none;
  z-index: 1;
}

/* Statistics Grid: Modern Executive Bento KPI Cards */
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.stat-counter-card {
  position: relative;
  padding: 18px 18px 15px;
  border-radius: 18px;
  text-align: left;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 24px -8px rgba(15, 23, 42, 0.06);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.stat-card-top {
  display: flex;
  align-items: center;
  gap: 13px;
  position: relative;
  z-index: 2;
}

.stat-meta-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.stat-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.12rem;
  margin: 0;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.stat-counter-card:hover .stat-icon-wrapper {
  transform: scale(1.08) rotate(-5deg);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 2px;
  letter-spacing: -0.03em;
  color: #0f172a;
  display: flex;
  align-items: baseline;
}

.stat-number span {
  font-size: 1.15rem;
  font-weight: 800;
  margin-left: 1px;
}

.stat-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #475569;
  white-space: nowrap;
}

/* Progress Accent Bar inside Stat Card */
.stat-card-bar {
  width: 100%;
  height: 4px;
  background: #f1f5f9;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.stat-card-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
}

.stat-subtext {
  font-size: 0.68rem;
  font-weight: 600;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 5px;
  position: relative;
  z-index: 2;
}

.stat-bg-watermark {
  position: absolute;
  right: -8px;
  bottom: -10px;
  font-size: 4rem;
  opacity: 0.045;
  transform: rotate(-12deg);
  pointer-events: none;
  z-index: 1;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.stat-counter-card:hover .stat-bg-watermark {
  transform: rotate(0deg) scale(1.08);
  opacity: 0.075;
}

/* Stat Card Blue Theme */
.stat-card-blue {
  background: linear-gradient(145deg, #ffffff 0%, #f0f7ff 100%);
  border-color: rgba(191, 219, 254, 0.85);
}

.stat-card-blue .stat-icon-wrapper {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  color: #ffffff;
  box-shadow: 0 6px 14px -3px rgba(37, 99, 235, 0.35);
}

.stat-card-blue .stat-number span,
.stat-card-blue .stat-subtext i,
.stat-card-blue .stat-bg-watermark {
  color: #2563eb;
}

.stat-card-blue .stat-card-bar span {
  background: linear-gradient(90deg, #2563eb 0%, #38bdf8 100%);
}

.stat-card-blue:hover {
  transform: translateY(-4px);
  border-color: #60a5fa;
  box-shadow: 0 16px 32px -8px rgba(37, 99, 235, 0.18);
}

/* Stat Card Indigo Theme */
.stat-card-indigo {
  background: linear-gradient(145deg, #ffffff 0%, #f5f3ff 100%);
  border-color: rgba(221, 214, 254, 0.85);
}

.stat-card-indigo .stat-icon-wrapper {
  background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
  color: #ffffff;
  box-shadow: 0 6px 14px -3px rgba(124, 58, 237, 0.35);
}

.stat-card-indigo .stat-number span,
.stat-card-indigo .stat-subtext i,
.stat-card-indigo .stat-bg-watermark {
  color: #7c3aed;
}

.stat-card-indigo .stat-card-bar span {
  background: linear-gradient(90deg, #7c3aed 0%, #a855f7 100%);
}

.stat-card-indigo:hover {
  transform: translateY(-4px);
  border-color: #a78bfa;
  box-shadow: 0 16px 32px -8px rgba(124, 58, 237, 0.18);
}

/* Stat Card Emerald Theme */
.stat-card-emerald {
  background: linear-gradient(145deg, #ffffff 0%, #ecfdf5 100%);
  border-color: rgba(167, 243, 208, 0.85);
}

.stat-card-emerald .stat-icon-wrapper {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  box-shadow: 0 6px 14px -3px rgba(16, 185, 129, 0.35);
}

.stat-card-emerald .stat-number span,
.stat-card-emerald .stat-subtext i,
.stat-card-emerald .stat-bg-watermark {
  color: #059669;
}

.stat-card-emerald .stat-card-bar span {
  background: linear-gradient(90deg, #059669 0%, #34d399 100%);
}

.stat-card-emerald:hover {
  transform: translateY(-4px);
  border-color: #34d399;
  box-shadow: 0 16px 32px -8px rgba(16, 185, 129, 0.18);
}

/* Detail Contact Cards Minimalist & Vibrant Frosted Glass */
.about-details-grid-3d {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.detail-card-3d {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  min-width: 0;
}

/* Location Card (Blue Lagoon Glass Theme) */
.detail-card-3d.detail-loc {
  background: linear-gradient(135deg, rgba(240, 247, 255, 0.75) 0%, rgba(224, 242, 254, 0.65) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(186, 230, 253, 0.85);
  box-shadow: 0 6px 18px -3px rgba(2, 132, 199, 0.12), inset 0 1px 2px rgba(255, 255, 255, 0.95);
}

.detail-loc .icon-3d-box {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #0284c7;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.16), inset 0 1px 1px #ffffff;
  border: 1px solid rgba(186, 230, 253, 0.7);
}

.detail-card-3d.detail-loc:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, rgba(240, 247, 255, 0.9) 0%, rgba(224, 242, 254, 0.8) 100%);
  border-color: #38bdf8;
  box-shadow: 0 12px 28px -5px rgba(2, 132, 199, 0.22), inset 0 1px 2px rgba(255, 255, 255, 1);
}

.detail-card-3d.detail-loc:hover .icon-3d-box {
  background: #0284c7;
  color: #ffffff;
}

/* Email Card (Purple Sunset Glass Theme) */
.detail-card-3d.detail-mail {
  background: linear-gradient(135deg, rgba(250, 245, 255, 0.75) 0%, rgba(243, 232, 255, 0.65) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(233, 213, 255, 0.85);
  box-shadow: 0 6px 18px -3px rgba(147, 51, 234, 0.12), inset 0 1px 2px rgba(255, 255, 255, 0.95);
}

.detail-mail .icon-3d-box {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #9333ea;
  box-shadow: 0 2px 8px rgba(147, 51, 234, 0.16), inset 0 1px 1px #ffffff;
  border: 1px solid rgba(233, 213, 255, 0.7);
}

.detail-card-3d.detail-mail:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, rgba(250, 245, 255, 0.9) 0%, rgba(243, 232, 255, 0.8) 100%);
  border-color: #c084fc;
  box-shadow: 0 12px 28px -5px rgba(147, 51, 234, 0.22), inset 0 1px 2px rgba(255, 255, 255, 1);
}

.detail-card-3d.detail-mail:hover .icon-3d-box {
  background: #9333ea;
  color: #ffffff;
}

/* WA Card (Emerald Fresh Glass Theme) */
.detail-card-3d.detail-wa {
  background: linear-gradient(135deg, rgba(240, 253, 244, 0.75) 0%, rgba(220, 252, 231, 0.65) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(187, 247, 208, 0.85);
  box-shadow: 0 6px 18px -3px rgba(22, 163, 74, 0.12), inset 0 1px 2px rgba(255, 255, 255, 0.95);
}

.detail-wa .icon-3d-box {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #16a34a;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.16), inset 0 1px 1px #ffffff;
  border: 1px solid rgba(187, 247, 208, 0.7);
}

.detail-card-3d.detail-wa:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, rgba(240, 253, 244, 0.9) 0%, rgba(220, 252, 231, 0.8) 100%);
  border-color: #4ade80;
  box-shadow: 0 12px 28px -5px rgba(22, 163, 74, 0.22), inset 0 1px 2px rgba(255, 255, 255, 1);
}

.detail-card-3d.detail-wa:hover .icon-3d-box {
  background: #16a34a;
  color: #ffffff;
}

.icon-3d-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.detail-card-3d:hover .icon-3d-box {
  transform: scale(1.08) rotate(5deg);
}

.detail-info {
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.detail-info small {
  display: block;
  font-size: 0.68rem;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 2px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.detail-info strong {
  font-size: 0.82rem;
  color: #0f172a;
  font-weight: 700;
  line-height: 1.25;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}

/* SKILLS MODERN & VIBRANT REVAMP */
.skills-section {
  position: relative;
  background: radial-gradient(circle at 85% 15%, rgba(59, 130, 246, 0.04) 0%, transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(16, 185, 129, 0.04) 0%, transparent 45%);
}

.skill-group {
  position: relative;
}

.skill-group-header {
  margin-bottom: 18px;
  position: relative;
  padding: 16px 20px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 60%, #f0f7ff 100%);
  border-radius: 16px;
  border: 1px solid #dbeafe;
  box-shadow: 0 8px 24px -6px rgba(37, 99, 235, 0.08), 0 2px 6px rgba(15, 23, 42, 0.02);
  display: flex;
  flex-direction: column;
  gap: 11px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.skill-group-header.soft-header {
  background: linear-gradient(135deg, #ffffff 0%, #f7fefc 60%, #ecfdf5 100%);
  border-color: #a7f3d0;
  box-shadow: 0 8px 24px -6px rgba(16, 185, 129, 0.08), 0 2px 6px rgba(15, 23, 42, 0.02);
}

.skill-group-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #2563eb 0%, #3b82f6 50%, #06b6d4 100%);
}

.skill-group-header.soft-header::before {
  background: linear-gradient(90deg, #059669 0%, #10b981 50%, #14b8a6 100%);
}

.skill-header-watermark {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%) rotate(-10deg);
  font-size: 4.2rem;
  color: rgba(37, 99, 235, 0.045);
  pointer-events: none;
  z-index: 0;
}

.skill-group-header.soft-header .skill-header-watermark {
  color: rgba(16, 185, 129, 0.05);
}

.skill-header-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 13px;
}

.skill-header-icon-box {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  box-shadow: 0 6px 14px -3px rgba(37, 99, 235, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

.skill-header-icon-box.soft-icon-box {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  box-shadow: 0 6px 14px -3px rgba(16, 185, 129, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.skill-header-title-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.skill-header-pills-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.skill-group-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2.5px 9px;
  border-radius: 999px;
  line-height: 1.25;
}

.skill-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 6px currentColor;
}

.skill-group-badge.hard-badge {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.skill-group-badge.soft-badge {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.skill-count-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.58rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
  border: 1px solid rgba(37, 99, 235, 0.16);
  line-height: 1.25;
}

.skill-count-pill.soft-count-pill {
  background: rgba(16, 185, 129, 0.08);
  color: #059669;
  border-color: rgba(16, 185, 129, 0.18);
}

.skill-group-title {
  font-family: var(--font-heading);
  font-size: clamp(0.96rem, 2vw, 1.2rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.22;
}

.skill-group-subtitle-box {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(191, 219, 254, 0.75);
  border-radius: 10px;
  padding: 7px 11px;
}

.skill-group-subtitle-box.soft-sub-box {
  border-color: rgba(167, 243, 208, 0.85);
}

.skill-group-subtitle-box i {
  font-size: 0.76rem;
  color: #2563eb;
  flex-shrink: 0;
}

.skill-group-subtitle-box.soft-sub-box i {
  color: #059669;
}

.skill-group-subtitle {
  font-size: 0.78rem;
  color: #475569;
  margin: 0;
  line-height: 1.4;
  font-weight: 500;
}

.skills-modern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}

/* Hide skills beyond initial limit so page is never too long */
.skills-modern-grid .skill-hidden-item {
  display: none !important;
}

/* On Mobile Screens, show only first 4 skills and reveal the rest via the inline Lihat Lainnya card */
@media (max-width: 600px) {
  .skills-modern-grid .skill-modern-card:not(.btn-skills-more):nth-child(n+5) {
    display: none !important;
  }
}

/* ============================================================
   SKILLS POPUP MODAL (Scrollable, Sleek & Mobile-Friendly)
============================================================ */
.skills-modal-card {
  max-width: 620px;
  width: 92%;
  max-height: 82vh;
  margin: auto;
  padding: 18px 18px 12px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 25px 55px -12px rgba(15, 23, 42, 0.32);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.skills-modal-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #2563eb 0%, #06b6d4 50%, #6366f1 100%);
}

.skills-modal-top-bar.soft-mode {
  background: linear-gradient(90deg, #059669 0%, #10b981 50%, #14b8a6 100%);
}

.skills-modal-header {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding-bottom: 11px;
  margin-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
  flex-shrink: 0;
}

.skills-modal-head-top {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-right: 34px;
}

.skills-modal-icon-box {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.94rem;
  box-shadow: 0 4px 10px -2px rgba(37, 99, 235, 0.3);
  flex-shrink: 0;
}

.skills-modal-icon-box.soft-mode {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  box-shadow: 0 4px 10px -2px rgba(16, 185, 129, 0.3);
}

.skills-modal-title-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  flex: 1;
  gap: 2px;
}

.skills-modal-card .edu-modal-pill {
  font-size: 0.54rem;
  padding: 2px 8px;
  margin-bottom: 0;
  line-height: 1.25;
}

.skills-modal-card .edu-modal-title {
  font-size: 0.94rem;
  margin: 0;
  line-height: 1.22;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.skills-modal-sub {
  font-size: 0.72rem;
  color: #64748b;
  margin: 0;
  line-height: 1.35;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  padding: 5px 10px;
  border-radius: 8px;
}

/* Scrollable Container inside Skills Modal */
.skills-modal-scroll-body {
  flex: 1 1 auto;
  overflow-y: auto;
  max-height: 56vh;
  padding: 2px 5px 4px 1px;
  overscroll-behavior: contain;
}

.skills-modal-scroll-body::-webkit-scrollbar {
  width: 4px;
}

.skills-modal-scroll-body::-webkit-scrollbar-track {
  background: #f8fafc;
  border-radius: 999px;
}

.skills-modal-scroll-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}

.skills-modal-scroll-body::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.skills-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

/* Compact, Sleek & Proportional List Items Inside Popup Modal */
.skills-modal-grid .skill-modern-card {
  padding: 7px 10px;
  border-radius: 10px;
  gap: 9px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.skills-modal-grid .skill-modern-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.07);
}

.skills-modal-grid .skill-card-ambient {
  width: 40px;
  height: 40px;
  top: -12px;
  right: -12px;
  filter: blur(14px);
  opacity: 0.12;
}

.skills-modal-grid .skill-icon-placeholder {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 8px;
  font-size: 0.88rem;
}

.skills-modal-grid .skill-info {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
}

.skills-modal-grid .skill-name {
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.25;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  color: #1e293b;
}

.skills-modal-grid .skill-category-badge {
  font-size: 0.52rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 5px;
  flex-shrink: 0;
  letter-spacing: 0.03em;
}

.skills-modal-grid .skill-card-arrow {
  margin-left: 2px;
  font-size: 0.62rem;
  opacity: 0.75;
  transform: none;
}

.skills-modal-scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.64rem;
  font-weight: 600;
  color: #64748b;
}

.skills-modal-scroll-hint i {
  color: #2563eb;
}

@media (max-width: 600px) {
  .skills-modal-card {
    width: 92%;
    max-width: 345px;
    max-height: 80vh;
    padding: 14px 13px 10px;
    border-radius: 15px;
  }

  .skills-modal-header {
    gap: 7px;
    padding-bottom: 9px;
    margin-bottom: 8px;
  }

  .skills-modal-head-top {
    gap: 9px;
    padding-right: 28px;
  }

  .skills-modal-icon-box {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 9px;
    font-size: 0.84rem;
  }

  .skills-modal-card .edu-modal-title {
    font-size: 0.8rem;
  }

  .skills-modal-sub {
    font-size: 0.66rem;
    line-height: 1.3;
    padding: 4px 8px;
  }

  .skills-modal-scroll-body {
    max-height: 56vh;
    padding-right: 3px;
  }

  .skills-modal-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .skills-modal-grid .skill-modern-card {
    padding: 6px 9px;
    border-radius: 9px;
    gap: 8px;
  }

  .skills-modal-grid .skill-icon-placeholder {
    width: 27px;
    height: 27px;
    min-width: 27px;
    border-radius: 7px;
    font-size: 0.8rem;
  }

  .skills-modal-grid .skill-name {
    font-size: 0.73rem;
  }

  .skills-modal-grid .skill-category-badge {
    font-size: 0.5rem;
    padding: 1.5px 5px;
  }
}

/* Base Card - Compact, Sleek & Modern */
.skill-modern-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.035);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  cursor: default;
}

.skill-card-ambient {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  filter: blur(16px);
  pointer-events: none;
  opacity: 0.18;
  transition: opacity 0.25s ease;
}

.skill-modern-card:hover .skill-card-ambient {
  opacity: 0.45;
}

.skill-modern-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px -4px rgba(15, 23, 42, 0.08);
}

/* Card Arrow Icon */
.skill-card-arrow {
  margin-left: auto;
  font-size: 0.72rem;
  opacity: 0.35;
  transform: translateX(-2px);
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.skill-modern-card:hover .skill-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Skill Icon Box */
.skill-icon-placeholder {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: all 0.25s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
  background: #f8fafc;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.skill-modern-card:hover .skill-icon-placeholder {
  transform: scale(1.05);
}

/* Skill Info */
.skill-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 2px;
}

.skill-name {
  font-weight: 700;
  font-size: 0.82rem;
  color: #0f172a;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}

.skill-category-badge {
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 1px 6px;
  border-radius: 5px;
  width: fit-content;
  line-height: 1.3;
}

/* THEME VARIATIONS FOR HARD SKILLS (Sleek Clean Borders & Accents) */

/* Blue Theme (Default) */
.skill-theme-blue {
  background: #ffffff;
  border-color: rgba(186, 230, 253, 0.85);
}

.skill-theme-blue .skill-card-ambient {
  background: #38bdf8;
}

.skill-theme-blue .skill-icon-placeholder {
  color: #0284c7;
  background: #f0f9ff;
  border-color: #e0f2fe;
}

.skill-theme-blue .skill-category-badge {
  background: #f0f9ff;
  color: #0284c7;
  border: 1px solid #bae6fd;
}

.skill-theme-blue .skill-card-arrow {
  color: #0284c7;
}

.skill-theme-blue:hover {
  border-color: #38bdf8;
  box-shadow: 0 10px 22px -4px rgba(2, 132, 199, 0.16);
}

/* Red / Coral Theme (Laravel / HTML / Postman) */
.skill-theme-red {
  background: #ffffff;
  border-color: rgba(254, 205, 211, 0.85);
}

.skill-theme-red .skill-card-ambient {
  background: #fb7185;
}

.skill-theme-red .skill-icon-placeholder {
  color: #e11d48;
  background: #fff1f2;
  border-color: #ffe4e6;
}

.skill-theme-red .skill-category-badge {
  background: #fff1f2;
  color: #be123c;
  border: 1px solid #fecdd3;
}

.skill-theme-red .skill-card-arrow {
  color: #e11d48;
}

.skill-theme-red:hover {
  border-color: #fb7185;
  box-shadow: 0 10px 22px -4px rgba(225, 29, 72, 0.16);
}

/* Indigo Theme (PHP / OOP / Bootstrap) */
.skill-theme-indigo {
  background: #ffffff;
  border-color: rgba(221, 214, 254, 0.85);
}

.skill-theme-indigo .skill-card-ambient {
  background: #a78bfa;
}

.skill-theme-indigo .skill-icon-placeholder {
  color: #7c3aed;
  background: #f5f3ff;
  border-color: #ede9fe;
}

.skill-theme-indigo .skill-category-badge {
  background: #f5f3ff;
  color: #6d28d9;
  border: 1px solid #ddd6fe;
}

.skill-theme-indigo .skill-card-arrow {
  color: #7c3aed;
}

.skill-theme-indigo:hover {
  border-color: #a78bfa;
  box-shadow: 0 10px 22px -4px rgba(124, 58, 237, 0.16);
}

/* Cyan Theme (Tailwind / CSS / API / Webhook) */
.skill-theme-cyan {
  background: #ffffff;
  border-color: rgba(165, 243, 252, 0.85);
}

.skill-theme-cyan .skill-card-ambient {
  background: #22d3ee;
}

.skill-theme-cyan .skill-icon-placeholder {
  color: #0891b2;
  background: #ecfeff;
  border-color: #cffafe;
}

.skill-theme-cyan .skill-category-badge {
  background: #ecfeff;
  color: #0e7490;
  border: 1px solid #a5f3fc;
}

.skill-theme-cyan .skill-card-arrow {
  color: #0891b2;
}

.skill-theme-cyan:hover {
  border-color: #22d3ee;
  box-shadow: 0 10px 22px -4px rgba(8, 145, 178, 0.16);
}

/* Sky / Ocean Theme (MySQL / PostgreSQL / Linux) */
.skill-theme-sky {
  background: #ffffff;
  border-color: rgba(153, 246, 228, 0.85);
}

.skill-theme-sky .skill-card-ambient {
  background: #2dd4bf;
}

.skill-theme-sky .skill-icon-placeholder {
  color: #0d9488;
  background: #f0fdfa;
  border-color: #ccfbf1;
}

.skill-theme-sky .skill-category-badge {
  background: #f0fdfa;
  color: #0f766e;
  border: 1px solid #99f6e4;
}

.skill-theme-sky .skill-card-arrow {
  color: #0d9488;
}

.skill-theme-sky:hover {
  border-color: #2dd4bf;
  box-shadow: 0 10px 22px -4px rgba(13, 148, 136, 0.16);
}

/* Yellow Theme (JavaScript) */
.skill-theme-yellow {
  background: #ffffff;
  border-color: rgba(254, 240, 138, 0.85);
}

.skill-theme-yellow .skill-card-ambient {
  background: #facc15;
}

.skill-theme-yellow .skill-icon-placeholder {
  color: #ca8a04;
  background: #fefce8;
  border-color: #fef9c3;
}

.skill-theme-yellow .skill-category-badge {
  background: #fefce8;
  color: #a16207;
  border: 1px solid #fde047;
}

.skill-theme-yellow .skill-card-arrow {
  color: #ca8a04;
}

.skill-theme-yellow:hover {
  border-color: #facc15;
  box-shadow: 0 10px 22px -4px rgba(202, 138, 4, 0.16);
}

/* Green Theme (Excel / Vue) */
.skill-theme-green {
  background: #ffffff;
  border-color: rgba(187, 247, 208, 0.85);
}

.skill-theme-green .skill-card-ambient {
  background: #4ade80;
}

.skill-theme-green .skill-icon-placeholder {
  color: #16a34a;
  background: #f0fdf4;
  border-color: #dcfce7;
}

.skill-theme-green .skill-category-badge {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.skill-theme-green .skill-card-arrow {
  color: #16a34a;
}

.skill-theme-green:hover {
  border-color: #4ade80;
  box-shadow: 0 10px 22px -4px rgba(22, 163, 74, 0.16);
}

/* THEME VARIATIONS FOR SOFT SKILLS */
.skill-theme-teal {
  background: #ffffff;
  border-color: rgba(153, 246, 228, 0.85);
}

.skill-theme-teal .skill-icon-placeholder {
  color: #0d9488;
  background: #f0fdfa;
  border-color: #ccfbf1;
}

.skill-theme-teal .skill-category-badge {
  background: #f0fdfa;
  color: #0f766e;
  border: 1px solid #99f6e4;
}

.skill-theme-teal .skill-card-arrow {
  color: #0d9488;
}

.skill-theme-teal:hover {
  border-color: #2dd4bf;
  box-shadow: 0 10px 22px -4px rgba(13, 148, 136, 0.16);
}

.skill-theme-violet {
  background: #ffffff;
  border-color: rgba(233, 213, 255, 0.85);
}

.skill-theme-violet .skill-icon-placeholder {
  color: #9333ea;
  background: #faf5ff;
  border-color: #f3e8ff;
}

.skill-theme-violet .skill-category-badge {
  background: #faf5ff;
  color: #7e22ce;
  border: 1px solid #e9d5ff;
}

.skill-theme-violet .skill-card-arrow {
  color: #9333ea;
}

.skill-theme-violet:hover {
  border-color: #c084fc;
  box-shadow: 0 10px 22px -4px rgba(147, 51, 234, 0.16);
}

.skill-theme-amber {
  background: #ffffff;
  border-color: rgba(253, 230, 138, 0.85);
}

.skill-theme-amber .skill-icon-placeholder {
  color: #d97706;
  background: #fffbeb;
  border-color: #fef3c7;
}

.skill-theme-amber .skill-category-badge {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.skill-theme-amber .skill-card-arrow {
  color: #d97706;
}

.skill-theme-amber:hover {
  border-color: #f59e0b;
  box-shadow: 0 10px 22px -4px rgba(217, 119, 6, 0.16);
}

.skill-theme-emerald {
  background: #ffffff;
  border-color: rgba(187, 247, 208, 0.85);
}

.skill-theme-emerald .skill-icon-placeholder {
  color: #059669;
  background: #f0fdf4;
  border-color: #dcfce7;
}

.skill-theme-emerald .skill-category-badge {
  background: #f0fdf4;
  color: #047857;
  border: 1px solid #bbf7d0;
}

.skill-theme-emerald .skill-card-arrow {
  color: #059669;
}

.skill-theme-emerald:hover {
  border-color: #34d399;
  box-shadow: 0 10px 22px -4px rgba(5, 150, 105, 0.16);
}

/* Inline "Lihat Lainnya" Card inside .skills-modern-grid (Not separated/centered below) */
.skill-modern-card.btn-skills-more {
  width: 100%;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 100%);
  border: 1.5px dashed #93c5fd;
  box-shadow: 0 4px 14px -4px rgba(37, 99, 235, 0.14);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.skill-modern-card.btn-skills-more .skill-icon-placeholder {
  background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 10px -2px rgba(37, 99, 235, 0.35);
}

.skill-modern-card.btn-skills-more .skill-name {
  color: #1d4ed8;
  font-weight: 800;
}

.skill-modern-card.btn-skills-more .skill-category-badge {
  background: #ffffff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}

.skill-modern-card.btn-skills-more .skill-card-arrow {
  color: #2563eb;
  opacity: 0.9;
}

.skill-modern-card.btn-skills-more:hover {
  background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
  border-style: solid;
  border-color: #2563eb;
  box-shadow: 0 10px 24px -4px rgba(37, 99, 235, 0.35);
  transform: translateY(-2px);
}

.skill-modern-card.btn-skills-more:hover .skill-icon-placeholder {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  box-shadow: none;
}

.skill-modern-card.btn-skills-more:hover .skill-name,
.skill-modern-card.btn-skills-more:hover .skill-card-arrow {
  color: #ffffff;
}

.skill-modern-card.btn-skills-more:hover .skill-category-badge {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

/* Soft Skills Variant for Inline "Lihat Lainnya" Card */
.skill-modern-card.btn-skills-more.btn-soft-more {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border-color: #6ee7b7;
  box-shadow: 0 4px 14px -4px rgba(16, 185, 129, 0.14);
}

.skill-modern-card.btn-skills-more.btn-soft-more .skill-icon-placeholder {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  box-shadow: 0 4px 10px -2px rgba(16, 185, 129, 0.35);
}

.skill-modern-card.btn-skills-more.btn-soft-more .skill-name,
.skill-modern-card.btn-skills-more.btn-soft-more .skill-card-arrow {
  color: #047857;
}

.skill-modern-card.btn-skills-more.btn-soft-more .skill-category-badge {
  background: #ffffff;
  color: #059669;
  border-color: #a7f3d0;
}

.skill-modern-card.btn-skills-more.btn-soft-more:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  border-color: #059669;
  box-shadow: 0 10px 24px -4px rgba(16, 185, 129, 0.35);
}

.skill-modern-card.btn-skills-more.btn-soft-more:hover .skill-name,
.skill-modern-card.btn-skills-more.btn-soft-more:hover .skill-card-arrow {
  color: #ffffff;
}

.empty-skills {
  color: var(--text-muted);
  font-style: italic;
}

/* EXPERIENCE GRID MODERN & COLORFUL REVAMP */
.exp-modern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
}

/* ==========================================================================
   CAREER EXPERIENCE STEPPER (Horizontal Connected Grid on Desktop, Vertical on Mobile)
   ========================================================================== */
.experience-section {
  position: relative;
  background: transparent;
  padding: 60px 0;
}

.exp-career-stepper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 20px;
  padding: 8px 0 16px 0;
  align-items: stretch;
}

/* Continuous Luminescent Career Spine (Horizontal Track on Desktop) */
.exp-path-spine {
  position: absolute;
  top: 28px;
  bottom: auto;
  left: 44px;
  right: 44px;
  width: auto;
  height: 3px;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.35) 0%, rgba(99, 102, 241, 0.35) 45%, rgba(16, 185, 129, 0.35) 85%, rgba(16, 185, 129, 0.15) 100%);
  border-radius: 999px;
  z-index: 1;
  overflow: hidden;
}

.exp-spine-pulse-beam {
  position: absolute;
  top: 0;
  left: -35%;
  width: 35%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, #3b82f6 30%, #6366f1 65%, #10b981 90%, transparent 100%);
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.75);
  animation: expHorizontalBeam 3.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes expHorizontalBeam {
  0% {
    left: -35%;
  }
  100% {
    left: 105%;
  }
}

/* Career Column Item (Horizontal on Desktop) */
.exp-row-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  z-index: 2;
  transition: transform 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Timeline Node on Horizontal Spine */
.exp-row-node {
  position: relative;
  flex-shrink: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 0 10px 0 0;
  margin-left: 14px;
  background: var(--bg-main, #f8fafc);
  border-radius: 12px;
}

.exp-node-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  background: #ffffff;
}

.exp-node-live-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: #10b981;
  opacity: 0.5;
  filter: blur(8px);
  z-index: 1;
  animation: pulseNodeLive 2s infinite ease-in-out;
}

.exp-node-step-tag {
  font-size: 0.63rem;
  font-weight: 800;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  white-space: nowrap;
}

@keyframes pulseNodeLive {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.4;
  }

  50% {
    transform: scale(1.15);
    opacity: 0.7;
  }
}

/* Minimalist Career Card (Equal Height Side-by-Side) */
.exp-career-card {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  transition: all 0.28s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.exp-card-edge-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  transition: height 0.25s ease;
}

.exp-card-main {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Header Top */
.exp-header-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.exp-role-wrap {
  flex: 1;
  min-width: 150px;
}

.exp-role-title {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.25;
  margin: 0 0 4px 0;
  letter-spacing: -0.01em;
}

.exp-company-sub {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--primary);
}

.exp-company-sub i {
  font-size: 0.8rem;
  opacity: 0.8;
}

/* Badges Cluster */
.exp-badges-cluster {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.exp-type-pill {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.exp-current-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.dot-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}

/* Meta Compact */
.exp-meta-compact {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--border-color);
}

.meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 650;
  padding: 4px 10px;
  border-radius: 7px;
  font-family: 'Space Grotesk', sans-serif;
}

.meta-tag i {
  font-size: 0.75rem;
}

/* Narrative Box */
.exp-narrative-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 8px 12px;
  margin-top: 8px;
}

.exp-narrative-box p {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-color);
  margin: 0;
}

/* ==========================================================================
   THEME ACCENTS FOR CAREER STEPPER
   ========================================================================== */

/* Theme: Blue */
.exp-theme-blue .exp-node-icon {
  background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
  color: #ffffff;
  border: 2px solid #bfdbfe;
}

.exp-theme-blue .exp-node-step-tag {
  background: #dbeafe;
  color: #1e40af;
  border-color: #bfdbfe;
}

.exp-theme-blue .exp-career-card {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.035) 0%, var(--bg-card) 55%);
}

.exp-theme-blue .exp-card-edge-accent {
  background: linear-gradient(90deg, #2563eb, #60a5fa);
}

.exp-theme-blue .exp-type-pill {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.exp-theme-blue .date-tag {
  background: #f0f7ff;
  color: #0284c7;
  border: 1px solid #bae6fd;
}

.exp-theme-blue .loc-tag {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
}

.exp-theme-blue:hover .exp-career-card {
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 10px 24px -6px rgba(37, 99, 235, 0.16);
}

/* Theme: Indigo */
.exp-theme-indigo .exp-node-icon {
  background: linear-gradient(135deg, #4338ca 0%, #6366f1 100%);
  color: #ffffff;
  border: 2px solid #c7d2fe;
}

.exp-theme-indigo .exp-node-step-tag {
  background: #e0e7ff;
  color: #3730a3;
  border-color: #c7d2fe;
}

.exp-theme-indigo .exp-career-card {
  background: linear-gradient(180deg, rgba(79, 70, 229, 0.035) 0%, var(--bg-card) 55%);
}

.exp-theme-indigo .exp-card-edge-accent {
  background: linear-gradient(90deg, #4f46e5, #818cf8);
}

.exp-theme-indigo .exp-type-pill {
  background: #eef2ff;
  color: #4338ca;
  border: 1px solid #c7d2fe;
}

.exp-theme-indigo .date-tag {
  background: #f5f3ff;
  color: #7c3aed;
  border: 1px solid #ddd6fe;
}

.exp-theme-indigo .loc-tag {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
}

.exp-theme-indigo:hover .exp-career-card {
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 10px 24px -6px rgba(79, 70, 229, 0.16);
}

/* Theme: Teal */
.exp-theme-teal .exp-node-icon {
  background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
  color: #ffffff;
  border: 2px solid #99f6e4;
}

.exp-theme-teal .exp-node-step-tag {
  background: #ccfbf1;
  color: #115e59;
  border-color: #99f6e4;
}

.exp-theme-teal .exp-career-card {
  background: linear-gradient(180deg, rgba(13, 148, 136, 0.035) 0%, var(--bg-card) 55%);
}

.exp-theme-teal .exp-card-edge-accent {
  background: linear-gradient(90deg, #0d9488, #2dd4bf);
}

.exp-theme-teal .exp-type-pill {
  background: #f0fdfa;
  color: #0f766e;
  border: 1px solid #99f6e4;
}

.exp-theme-teal .date-tag {
  background: #f0fdfa;
  color: #0d9488;
  border: 1px solid #99f6e4;
}

.exp-theme-teal .loc-tag {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
}

.exp-theme-teal:hover .exp-career-card {
  border-color: rgba(20, 184, 166, 0.5);
  box-shadow: 0 10px 24px -6px rgba(13, 148, 136, 0.16);
}

/* Theme: Purple */
.exp-theme-purple .exp-node-icon {
  background: linear-gradient(135deg, #7e22ce 0%, #a855f7 100%);
  color: #ffffff;
  border: 2px solid #e9d5ff;
}

.exp-theme-purple .exp-node-step-tag {
  background: #f3e8ff;
  color: #6b21a8;
  border-color: #e9d5ff;
}

.exp-theme-purple .exp-career-card {
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.035) 0%, var(--bg-card) 55%);
}

.exp-theme-purple .exp-card-edge-accent {
  background: linear-gradient(90deg, #9333ea, #c084fc);
}

.exp-theme-purple .exp-type-pill {
  background: #faf5ff;
  color: #7e22ce;
  border: 1px solid #e9d5ff;
}

.exp-theme-purple .date-tag {
  background: #faf5ff;
  color: #9333ea;
  border: 1px solid #e9d5ff;
}

.exp-theme-purple .loc-tag {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
}

.exp-theme-purple:hover .exp-career-card {
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 10px 24px -6px rgba(147, 51, 234, 0.16);
}

/* Theme: Emerald */
.exp-theme-emerald .exp-node-icon {
  background: linear-gradient(135deg, #047857 0%, #10b981 100%);
  color: #ffffff;
  border: 2px solid #a7f3d0;
}

.exp-theme-emerald .exp-node-step-tag {
  background: #d1fae5;
  color: #065f46;
  border-color: #a7f3d0;
}

.exp-theme-emerald .exp-career-card {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.035) 0%, var(--bg-card) 55%);
}

.exp-theme-emerald .exp-card-edge-accent {
  background: linear-gradient(90deg, #10b981, #34d399);
}

.exp-theme-emerald .exp-type-pill {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.exp-theme-emerald .date-tag {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}

.exp-theme-emerald .loc-tag {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
}

.exp-theme-emerald:hover .exp-career-card {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 10px 24px -6px rgba(16, 185, 129, 0.16);
}

/* Hover Dynamics */
.exp-row-item:hover {
  transform: translateY(-4px);
}

.exp-row-item:hover .exp-node-icon {
  transform: scale(1.06) rotate(4deg);
}

/* Tablet & Mobile Responsive */
@media (max-width: 900px) {
  .experience-section {
    padding: 40px 0;
  }

  .exp-career-stepper {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .exp-path-spine {
    left: 18px;
    right: auto;
    top: 20px;
    bottom: 20px;
    width: 3px;
    height: auto;
    background: linear-gradient(180deg, #3b82f6 0%, #6366f1 45%, #10b981 85%, rgba(16, 185, 129, 0.15) 100%);
  }

  .exp-spine-pulse-beam {
    display: none;
  }

  .exp-row-item {
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
  }

  .exp-row-node {
    flex-direction: column;
    width: 38px;
    padding: 4px 0 0 0;
    margin-left: 0;
    background: transparent;
  }

  .exp-node-step-tag {
    display: none;
  }

  .exp-node-icon {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
    border-radius: 10px;
  }

  .exp-node-live-pulse {
    width: 36px;
    height: 36px;
    top: 4px;
  }

  .exp-career-card {
    padding: 14px 14px;
    border-radius: 14px;
  }

  .exp-role-title {
    font-size: 1.05rem;
  }

  .exp-company-sub {
    font-size: 0.82rem;
  }
}

/* Tech Tags at bottom */
.exp-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  margin-top: auto;
}

.exp-tag {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid;
  transition: all 0.2s ease;
}

.exp-tag:hover {
  transform: translateY(-2px);
  filter: brightness(0.95);
}

/* PROJECTS - Modern SaaS Showcase Pedestal & Structured Info Card */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.project-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 8px 8px 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 7px;
  cursor: pointer;
  outline: none;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 16px -6px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.02);
}

.project-card:focus-visible {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.35);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px -8px rgba(37, 99, 235, 0.12), 0 3px 8px rgba(15, 23, 42, 0.03);
  border-color: #93c5fd;
}

.project-body-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
  font-size: 0.62rem;
  opacity: 0.65;
  transition: all 0.25s ease;
  flex-shrink: 0;
  margin-left: 2px;
}

.project-card:hover .project-body-arrow {
  opacity: 1;
  background: #2563eb;
  color: #ffffff;
  transform: translate(1px, -1px);
}

/* Accent line at the top */
.project-card-top-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  width: 100%;
  background: linear-gradient(90deg, #3b82f6, #06b6d4);
  z-index: 3;
}

/* Framed Client Logo Showcase Pedestal - Compact & Sleek */
.project-logo-showcase {
  position: relative;
  height: 110px;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #edf2f7;
  box-shadow: inset 0 1px 4px rgba(15, 23, 42, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 10px 8px;
  overflow: hidden;
}

/* Subtle Tech Dot Pattern Inside Pedestal */
.project-showcase-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(148, 163, 184, 0.18) 1px, transparent 1px);
  background-size: 11px 11px;
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

/* Floating Top Micro-Badges inside Showcase */
.project-showcase-top-tags {
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  z-index: 2;
  pointer-events: none;
}

.project-cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.52rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2.5px 7px;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid #e2e8f0;
  color: #334155;
  backdrop-filter: blur(4px);
  white-space: nowrap;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.cat-chip-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #2563eb;
  box-shadow: 0 0 4px currentColor;
}

.project-verified-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.5rem;
  font-weight: 700;
  padding: 1.5px 6px;
  border-radius: 999px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #059669;
}

.project-verified-chip i {
  font-size: 0.52rem;
  color: #10b981;
}

.project-client-logo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-width: 90%;
  max-height: 80px;
  object-fit: contain;
  object-position: center;
  transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.3s ease;
  filter: drop-shadow(0 2px 6px rgba(15, 23, 42, 0.04));
}

.project-card:hover .project-client-logo {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 10px rgba(37, 99, 235, 0.1));
}

/* Fallback badge when logo is text or placeholder */
.project-logo-fallback {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #0284c7;
  text-align: center;
  padding: 6px;
}

.project-logo-fallback i {
  font-size: 1.4rem;
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: transform 0.3s ease;
}

.project-card:hover .project-logo-fallback i {
  transform: scale(1.06);
}

.project-client-name {
  font-size: 0.72rem;
  font-weight: 700;
  color: #334155;
  letter-spacing: -0.2px;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Structured Card Body - Compact & Proportional */
.project-body {
  padding: 7px 9px;
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: left;
  min-height: 44px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  transition: all 0.25s ease;
}

.project-card:hover .project-body {
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
  border-color: #bfdbfe;
}

.project-body-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 7px;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  box-shadow: 0 3px 8px -2px rgba(37, 99, 235, 0.25);
  flex-shrink: 0;
  transition: transform 0.28s ease;
}

.project-card:hover .project-body-icon {
  transform: scale(1.05) rotate(-3deg);
}

.project-body-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  min-width: 0;
  flex: 1;
}

.project-body-eyebrow {
  font-size: 0.52rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.15;
}

.project-title {
  font-size: 0.75rem;
  font-weight: 750;
  line-height: 1.25;
  color: #0f172a;
  margin: 0;
  transition: color 0.25s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.project-card:hover .project-title {
  color: #1d4ed8;
}

/* Card Themes Accent & Icon Palettes */
.proj-theme-blue .project-card-top-accent {
  background: linear-gradient(90deg, #2563eb, #60a5fa);
}
.proj-theme-blue .project-body-icon {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
}
.proj-theme-blue .cat-chip-dot {
  background: #2563eb;
}

.proj-theme-indigo .project-card-top-accent {
  background: linear-gradient(90deg, #4f46e5, #818cf8);
}
.proj-theme-indigo .project-body-icon {
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  box-shadow: 0 4px 10px -2px rgba(79, 70, 229, 0.3);
}
.proj-theme-indigo .cat-chip-dot {
  background: #4f46e5;
}

.proj-theme-sky .project-card-top-accent {
  background: linear-gradient(90deg, #0284c7, #38bdf8);
}
.proj-theme-sky .project-body-icon {
  background: linear-gradient(135deg, #0284c7, #0ea5e9);
  box-shadow: 0 4px 10px -2px rgba(2, 132, 199, 0.3);
}
.proj-theme-sky .cat-chip-dot {
  background: #0284c7;
}

.proj-theme-teal .project-card-top-accent {
  background: linear-gradient(90deg, #0d9488, #2dd4bf);
}
.proj-theme-teal .project-body-icon {
  background: linear-gradient(135deg, #0d9488, #14b8a6);
  box-shadow: 0 4px 10px -2px rgba(13, 148, 136, 0.3);
}
.proj-theme-teal .cat-chip-dot {
  background: #0d9488;
}

.proj-theme-purple .project-card-top-accent {
  background: linear-gradient(90deg, #7c3aed, #a78bfa);
}
.proj-theme-purple .project-body-icon {
  background: linear-gradient(135deg, #7c3aed, #8b5cf6);
  box-shadow: 0 4px 10px -2px rgba(124, 58, 237, 0.3);
}
.proj-theme-purple .cat-chip-dot {
  background: #7c3aed;
}

.proj-theme-emerald .project-card-top-accent {
  background: linear-gradient(90deg, #059669, #34d399);
}
.proj-theme-emerald .project-body-icon {
  background: linear-gradient(135deg, #059669, #10b981);
  box-shadow: 0 4px 10px -2px rgba(5, 150, 105, 0.3);
}
.proj-theme-emerald .cat-chip-dot {
  background: #059669;
}

/* SERVICES - Modern Executive Bento Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.service-card-modern {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 18px 18px 16px;
  border-radius: 20px;
  box-shadow: 0 8px 24px -8px rgba(15, 23, 42, 0.06), 0 2px 6px rgba(15, 23, 42, 0.02);
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Card Top Accent */
.srv-top-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3.5px;
  transition: height 0.3s ease;
  z-index: 3;
}

/* Card Background Glow */
.srv-bg-glow {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  filter: blur(32px);
  opacity: 0.12;
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.srv-watermark-icon {
  position: absolute;
  right: 12px;
  top: 44px;
  font-size: 3.8rem;
  opacity: 0.035;
  transform: rotate(-12deg);
  pointer-events: none;
  z-index: 0;
  color: #0f172a;
}

.service-card-modern:hover {
  transform: translateY(-5px);
}

.service-card-modern:hover .srv-top-accent {
  height: 4.5px;
}

.service-card-modern:hover .srv-bg-glow {
  opacity: 0.24;
  transform: scale(1.25);
}

/* Theme Colors with 3D Gradient Icon Boxes & Accents */
.srv-theme-blue {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.03) 0%, #ffffff 50%);
}
.srv-theme-blue .srv-top-accent {
  background: linear-gradient(90deg, #2563eb, #60a5fa);
}
.srv-theme-blue .srv-bg-glow {
  background: #3b82f6;
}
.srv-theme-blue .service-icon-box {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  color: #ffffff;
  box-shadow: 0 6px 14px -3px rgba(37, 99, 235, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}
.srv-theme-blue .service-feat-count-badge {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}
.srv-theme-blue .service-eyebrow-tag {
  color: #2563eb;
}
.srv-theme-blue:hover {
  border-color: #93c5fd;
  box-shadow: 0 16px 32px -10px rgba(37, 99, 235, 0.16);
}

.srv-theme-indigo {
  background: linear-gradient(180deg, rgba(79, 70, 229, 0.03) 0%, #ffffff 50%);
}
.srv-theme-indigo .srv-top-accent {
  background: linear-gradient(90deg, #4f46e5, #818cf8);
}
.srv-theme-indigo .srv-bg-glow {
  background: #6366f1;
}
.srv-theme-indigo .service-icon-box {
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
  color: #ffffff;
  box-shadow: 0 6px 14px -3px rgba(79, 70, 229, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}
.srv-theme-indigo .service-feat-count-badge {
  background: #eef2ff;
  color: #4338ca;
  border: 1px solid #c7d2fe;
}
.srv-theme-indigo .service-eyebrow-tag {
  color: #4f46e5;
}
.srv-theme-indigo:hover {
  border-color: #a5b4fc;
  box-shadow: 0 16px 32px -10px rgba(79, 70, 229, 0.16);
}

.srv-theme-teal {
  background: linear-gradient(180deg, rgba(13, 148, 136, 0.03) 0%, #ffffff 50%);
}
.srv-theme-teal .srv-top-accent {
  background: linear-gradient(90deg, #0d9488, #2dd4bf);
}
.srv-theme-teal .srv-bg-glow {
  background: #14b8a6;
}
.srv-theme-teal .service-icon-box {
  background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
  color: #ffffff;
  box-shadow: 0 6px 14px -3px rgba(13, 148, 136, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}
.srv-theme-teal .service-feat-count-badge {
  background: #f0fdfa;
  color: #0f766e;
  border: 1px solid #99f6e4;
}
.srv-theme-teal .service-eyebrow-tag {
  color: #0d9488;
}
.srv-theme-teal:hover {
  border-color: #5eead4;
  box-shadow: 0 16px 32px -10px rgba(13, 148, 136, 0.16);
}

.srv-theme-purple {
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.03) 0%, #ffffff 50%);
}
.srv-theme-purple .srv-top-accent {
  background: linear-gradient(90deg, #7c3aed, #a78bfa);
}
.srv-theme-purple .srv-bg-glow {
  background: #8b5cf6;
}
.srv-theme-purple .service-icon-box {
  background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
  color: #ffffff;
  box-shadow: 0 6px 14px -3px rgba(124, 58, 237, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}
.srv-theme-purple .service-feat-count-badge {
  background: #faf5ff;
  color: #6d28d9;
  border: 1px solid #e9d5ff;
}
.srv-theme-purple .service-eyebrow-tag {
  color: #7c3aed;
}
.srv-theme-purple:hover {
  border-color: #c4b5fd;
  box-shadow: 0 16px 32px -10px rgba(124, 58, 237, 0.16);
}

.srv-theme-sky {
  background: linear-gradient(180deg, rgba(2, 132, 199, 0.03) 0%, #ffffff 50%);
}
.srv-theme-sky .srv-top-accent {
  background: linear-gradient(90deg, #0284c7, #38bdf8);
}
.srv-theme-sky .srv-bg-glow {
  background: #0ea5e9;
}
.srv-theme-sky .service-icon-box {
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
  color: #ffffff;
  box-shadow: 0 6px 14px -3px rgba(2, 132, 199, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}
.srv-theme-sky .service-feat-count-badge {
  background: #f0f9ff;
  color: #0369a1;
  border: 1px solid #bae6fd;
}
.srv-theme-sky .service-eyebrow-tag {
  color: #0284c7;
}
.srv-theme-sky:hover {
  border-color: #7dd3fc;
  box-shadow: 0 16px 32px -10px rgba(2, 132, 199, 0.16);
}

.srv-theme-amber {
  background: linear-gradient(180deg, rgba(217, 119, 6, 0.03) 0%, #ffffff 50%);
}
.srv-theme-amber .srv-top-accent {
  background: linear-gradient(90deg, #d97706, #fbbf24);
}
.srv-theme-amber .srv-bg-glow {
  background: #f59e0b;
}
.srv-theme-amber .service-icon-box {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
  color: #ffffff;
  box-shadow: 0 6px 14px -3px rgba(217, 119, 6, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}
.srv-theme-amber .service-feat-count-badge {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}
.srv-theme-amber .service-eyebrow-tag {
  color: #d97706;
}
.srv-theme-amber:hover {
  border-color: #fcd34d;
  box-shadow: 0 16px 32px -10px rgba(217, 119, 6, 0.16);
}

/* Service Card Head (Icon Left, Badges Cluster Right - Never Overlaps) */
.service-card-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 13px;
}

.service-icon-box {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card-modern:hover .service-icon-box {
  transform: scale(1.06) rotate(-5deg);
}

.service-head-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.service-badge-popular {
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  color: #ffffff;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  box-shadow: 0 3px 8px rgba(234, 88, 12, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.service-feat-count-badge {
  font-size: 0.62rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

/* Service Card Content */
.service-card-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-eyebrow-tag {
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 3px;
  line-height: 1.2;
}

.service-title-modern {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #0f172a;
  font-family: var(--font-heading);
  line-height: 1.3;
  letter-spacing: -0.015em;
  transition: color 0.2s ease;
}

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

.service-desc-box {
  background: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 10px;
}

.service-desc-modern {
  color: #475569;
  font-size: 0.8rem;
  line-height: 1.52;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Preview Feature Checkmark List */
.service-preview-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 12px;
}

.service-preview-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.3;
}

.service-preview-item i {
  font-size: 0.72rem;
  color: #10b981;
  flex-shrink: 0;
}

.service-preview-item span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Action Button */
.service-footer-modern {
  position: relative;
  z-index: 2;
  border-top: 1px dashed #e2e8f0;
  padding-top: 11px;
  margin-top: auto;
}

.btn-service-detail {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  color: #1e293b;
  border: 1px solid #dbeafe;
  padding: 8px 11px 8px 13px;
  border-radius: 11px;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-arrow-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #dbeafe;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  transition: all 0.3s ease;
}

.btn-service-detail:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 6px 16px -3px rgba(37, 99, 235, 0.32);
  transform: translateY(-1px);
}

.btn-service-detail:hover .btn-arrow-circle {
  background: #ffffff;
  color: #1d4ed8;
  transform: translateX(3px);
}

/* ============================================================
   SERVICE DETAIL MODAL STYLING (Modern, Compact & Sleek)
============================================================ */
.service-modal-content {
  max-width: 520px;
  width: 92%;
  max-height: 86vh;
  margin: auto;
  padding: 20px 20px 16px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 24px 55px -12px rgba(15, 23, 42, 0.35);
  border: 1px solid #e2e8f0;
  position: relative;
  overflow-y: auto;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 #f8fafc;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.service-modal-content::-webkit-scrollbar {
  width: 6px;
}

.service-modal-content::-webkit-scrollbar-track {
  background: #f8fafc;
  border-radius: 4px;
}

.service-modal-content::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.modal-overlay.active .service-modal-content {
  transform: translateY(0);
}

@keyframes modalPopIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.service-modal-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding-right: 32px;
  padding-bottom: 13px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 13px;
}

.service-modal-icon-wrap {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  color: #ffffff;
  box-shadow: 0 6px 14px -3px rgba(37, 99, 235, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

.service-modal-title-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  flex: 1;
  gap: 2px;
}

.service-modal-pill {
  display: inline-block;
  font-size: 0.56rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  line-height: 1.25;
}

.service-modal-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin: 0;
}

.service-modal-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}

.srv-modal-section-head {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 6px;
}

.srv-modal-section-head i {
  font-size: 0.78rem;
  color: #2563eb;
}

.srv-modal-section-head h4 {
  font-size: 0.78rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.01em;
}

.service-modal-desc-box {
  background: linear-gradient(135deg, #f8fafc 0%, #f0f7ff 100%);
  border: 1px solid #dbeafe;
  border-radius: 12px;
  padding: 11px 13px;
  margin: 0;
}

.service-modal-desc-box p {
  font-size: 0.78rem;
  line-height: 1.55;
  color: #334155;
  margin: 0;
}

.service-modal-features-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 11px 12px;
}

.srv-modal-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.srv-modal-features-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #ffffff;
  padding: 7px 10px;
  border-radius: 9px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.02);
  font-size: 0.76rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.35;
}

.srv-modal-features-list li .feat-check-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 6px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.58rem;
  margin-top: 0;
  flex-shrink: 0;
}

.service-modal-footer {
  border-top: 1px dashed #e2e8f0;
  padding-top: 12px;
}

.btn-srv-modal-consult {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 11px;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 6px 18px -4px rgba(37, 99, 235, 0.35);
  transition: all 0.28s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-srv-modal-consult:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  box-shadow: 0 10px 24px -4px rgba(37, 99, 235, 0.45);
  transform: translateY(-1px);
}

/* ============================================================
   AWARDS / PENGHARGAAN MODERN EXECUTIVE BENTO STYLING
============================================================ */
.awards-modern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  justify-content: center;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.award-card-modern {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 17px 18px 14px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  overflow: hidden;
  box-shadow: 0 8px 24px -8px rgba(15, 23, 42, 0.06), 0 2px 6px rgba(15, 23, 42, 0.02);
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.award-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3.5px;
  transition: height 0.3s ease;
  z-index: 3;
}

.award-bg-glow {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.12;
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

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

.award-card-modern:hover .award-card-accent {
  height: 4.5px;
}

.award-card-modern:hover .award-bg-glow {
  opacity: 0.25;
  transform: scale(1.25);
}

/* Watermark trophy icon in the background */
.award-card-modern::after {
  content: '\f091';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: 10px;
  bottom: 24px;
  font-size: 4rem;
  color: currentColor;
  opacity: 0.035;
  pointer-events: none;
  transform: rotate(-14deg);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 0;
}

.award-card-modern:hover::after {
  opacity: 0.06;
  transform: rotate(-10deg) scale(1.05);
}

/* Themes */
.award-theme-gold {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.035) 0%, #ffffff 55%);
  color: #f59e0b;
}
.award-theme-gold .award-card-accent {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}
.award-theme-gold .award-bg-glow {
  background: #f59e0b;
}
.award-theme-gold .award-icon-box {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
  color: #ffffff;
  box-shadow: 0 6px 14px -3px rgba(217, 119, 6, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}
.award-theme-gold .award-category-pill {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}
.award-theme-gold .award-year-badge {
  background: rgba(245, 158, 11, 0.1);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.25);
}
.award-theme-gold .award-desc-box {
  border-left-color: #f59e0b;
}
.award-theme-gold:hover {
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 14px 30px -8px rgba(245, 158, 11, 0.16);
}

.award-theme-blue {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.035) 0%, #ffffff 55%);
  color: #2563eb;
}
.award-theme-blue .award-card-accent {
  background: linear-gradient(90deg, #2563eb, #60a5fa);
}
.award-theme-blue .award-bg-glow {
  background: #3b82f6;
}
.award-theme-blue .award-icon-box {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  color: #ffffff;
  box-shadow: 0 6px 14px -3px rgba(37, 99, 235, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}
.award-theme-blue .award-category-pill {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}
.award-theme-blue .award-year-badge {
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
  border: 1px solid rgba(37, 99, 235, 0.22);
}
.award-theme-blue .award-desc-box {
  border-left-color: #3b82f6;
}
.award-theme-blue:hover {
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 14px 30px -8px rgba(37, 99, 235, 0.16);
}

.award-theme-purple {
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.035) 0%, #ffffff 55%);
  color: #7c3aed;
}
.award-theme-purple .award-card-accent {
  background: linear-gradient(90deg, #7c3aed, #a78bfa);
}
.award-theme-purple .award-bg-glow {
  background: #8b5cf6;
}
.award-theme-purple .award-icon-box {
  background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
  color: #ffffff;
  box-shadow: 0 6px 14px -3px rgba(124, 58, 237, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}
.award-theme-purple .award-category-pill {
  background: #faf5ff;
  color: #6d28d9;
  border: 1px solid #e9d5ff;
}
.award-theme-purple .award-year-badge {
  background: rgba(124, 58, 237, 0.08);
  color: #6d28d9;
  border: 1px solid rgba(124, 58, 237, 0.22);
}
.award-theme-purple .award-desc-box {
  border-left-color: #8b5cf6;
}
.award-theme-purple:hover {
  border-color: rgba(124, 58, 237, 0.45);
  box-shadow: 0 14px 30px -8px rgba(124, 58, 237, 0.16);
}

.award-theme-emerald {
  background: linear-gradient(180deg, rgba(5, 150, 105, 0.035) 0%, #ffffff 55%);
  color: #059669;
}
.award-theme-emerald .award-card-accent {
  background: linear-gradient(90deg, #059669, #34d399);
}
.award-theme-emerald .award-bg-glow {
  background: #10b981;
}
.award-theme-emerald .award-icon-box {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  box-shadow: 0 6px 14px -3px rgba(5, 150, 105, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}
.award-theme-emerald .award-category-pill {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}
.award-theme-emerald .award-year-badge {
  background: rgba(5, 150, 105, 0.08);
  color: #047857;
  border: 1px solid rgba(5, 150, 105, 0.22);
}
.award-theme-emerald .award-desc-box {
  border-left-color: #10b981;
}
.award-theme-emerald:hover {
  border-color: rgba(5, 150, 105, 0.45);
  box-shadow: 0 14px 30px -8px rgba(5, 150, 105, 0.16);
}

/* Structured Media Header inside Award Card */
.award-card-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.award-icon-box {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.award-card-modern:hover .award-icon-box {
  transform: scale(1.06) rotate(-5deg);
}

.award-head-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.award-badges-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
}

.award-category-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.56rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
  line-height: 1.25;
}

.award-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 5px currentColor;
}

.award-year-badge {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.64rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  line-height: 1.25;
}

.award-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.25;
  font-family: var(--font-heading);
  letter-spacing: -0.015em;
  transition: color 0.2s ease;
}

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

/* Framed Description Box */
.award-desc-box {
  position: relative;
  z-index: 2;
  flex: 1;
  background: #f8fafc;
  border: 1px solid #edf2f7;
  border-left: 3px solid #f59e0b;
  border-radius: 11px;
  padding: 9px 12px;
  margin-bottom: 12px;
}

.award-desc {
  color: #475569;
  font-size: 0.8rem;
  line-height: 1.5;
  margin: 0;
}

/* Footer Strip */
.award-footer {
  position: relative;
  z-index: 2;
  width: 100%;
  border-top: 1px dashed #e2e8f0;
  padding-top: 10px;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.award-verified-pill {
  font-size: 0.68rem;
  font-weight: 700;
  color: #059669;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.award-verified-pill i {
  color: #10b981;
  font-size: 0.72rem;
}

.award-seq-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.66rem;
  font-weight: 600;
  color: #64748b;
}

/* TESTIMONIALS */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.test-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.test-stars {
  color: #f59e0b;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.test-comment {
  font-style: italic;
  color: var(--text-main);
  font-size: 1rem;
  margin-bottom: 24px;
  line-height: 1.7;
}

.test-client {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

.test-client img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-color);
}

.test-client strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}

.test-client small {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ============================================================
   CONTACT SECTION - MODERN, COMPACT & WIDE REDESIGN
============================================================ */
.contact-modern-wrapper {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 34px 38px;
  box-shadow: 0 14px 40px -10px rgba(15, 23, 42, 0.07);
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-card-top-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #38bdf8, #6366f1);
}

.contact-decor-glow {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, rgba(37, 99, 235, 0.04) 50%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 36px;
  align-items: stretch;
}

/* Left: Contact Info Column */
.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-header {
  margin-bottom: 14px;
}

.contact-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 11px;
  border-radius: 30px;
  background: rgba(16, 185, 129, 0.08);
  color: #059669;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  border: 1px solid rgba(16, 185, 129, 0.22);
  margin-bottom: 10px;
}

.status-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.contact-heading {
  font-size: 1.45rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 6px;
}

.contact-subtext {
  color: var(--text-sub);
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0;
}

/* Contact Rows */
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(248, 250, 252, 0.85);
  border: 1px solid rgba(226, 232, 240, 0.9);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.contact-row:hover {
  transform: translateX(4px);
  background: #ffffff;
  border-color: #bae6fd;
  box-shadow: 0 6px 16px -4px rgba(2, 132, 199, 0.12);
}

.contact-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: transform 0.3s ease;
}

.contact-row:hover .contact-icon {
  transform: scale(1.08);
}

/* Row-specific colors */
.row-email .contact-icon {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(59, 130, 246, 0.2));
  color: #2563eb;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.row-wa .contact-icon {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(16, 185, 129, 0.2));
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.row-location .contact-icon {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(6, 182, 212, 0.2));
  color: #0284c7;
  border: 1px solid rgba(14, 165, 233, 0.2);
}

.contact-row-content {
  flex: 1;
  min-width: 0;
}

.contact-row-content small {
  display: block;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 1px;
}

.contact-row-content span {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-main);
  word-break: break-word;
  overflow-wrap: break-word;
  line-height: 1.35;
  display: block;
}

.contact-row-arrow {
  color: var(--text-muted);
  font-size: 0.72rem;
  opacity: 0.5;
  transition: all 0.25s ease;
}

.contact-row:hover .contact-row-arrow {
  opacity: 1;
  color: var(--primary);
  transform: translate(2px, -2px);
}

/* Trust / Response Time Guarantee Box */
.contact-trust-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  margin-top: 6px;
}

.contact-trust-box i {
  font-size: 1.15rem;
  color: #16a34a;
}

.contact-trust-box strong {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  color: #166534;
}

.contact-trust-box span {
  display: block;
  font-size: 0.7rem;
  color: #15803d;
  margin-top: 1px;
}

/* Right: Modern Form Card Box */
.contact-form-box {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  padding: 24px 26px;
  border-radius: 18px;
  box-shadow: 0 8px 24px -6px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
}

.form-box-header {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}

.form-box-header h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 2px 0;
}

.form-box-header p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
}

/* 2-Column Inner Form Grid */
.contact-form-inner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.contact-form-inner-grid .col-half {
  grid-column: span 1;
  margin-bottom: 0;
}

.contact-form-inner-grid .col-full {
  grid-column: span 2;
  margin-bottom: 0;
}

.form-group-modern {
  position: relative;
}

.form-group-modern .input-icon-wrap {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.9rem;
  pointer-events: none;
  transition: color 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-group-modern .input-icon-wrap.icon-top {
  top: 14px;
  transform: none;
}

.form-group-modern input,
.form-group-modern textarea {
  width: 100%;
  padding: 9px 12px 9px 36px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.25s ease;
}

.form-group-modern input::placeholder,
.form-group-modern textarea::placeholder {
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 400;
}

.form-group-modern textarea {
  resize: vertical;
  min-height: 70px;
  line-height: 1.45;
}

.form-group-modern input:focus,
.form-group-modern textarea:focus {
  background: #ffffff;
  border-color: #2563eb;
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-group-modern input:focus~.input-icon-wrap,
.form-group-modern textarea:focus~.input-icon-wrap {
  color: #2563eb;
}

/* Submit Button */
.btn-modern-submit {
  width: 100%;
  padding: 10px 16px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-modern-submit .btn-send-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

.btn-modern-submit:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.34);
  transform: translateY(-2px);
}

.btn-modern-submit:hover .btn-send-circle {
  transform: translateX(3px) scale(1.05);
  background: rgba(255, 255, 255, 0.3);
}

.btn-modern-submit:active {
  transform: translateY(0);
}

/* FOOTER - MODERN DARK ROYAL SAAS EXECUTIVE DOCK */
.footer {
  padding: 20px 0 38px;
  margin-top: 52px;
  position: relative;
}

.footer-card-modern {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #1e1b4b 100%);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 22px;
  padding: 24px 28px 18px;
  box-shadow:
    0 20px 44px -14px rgba(15, 23, 42, 0.35),
    0 6px 16px -4px rgba(37, 99, 235, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
  isolation: isolate;
}

/* Top Vibrant Multi-Tone Gradient Accent Rail */
.footer-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #3b82f6 0%, #6366f1 35%, #a855f7 70%, #06b6d4 100%);
  z-index: 3;
}

/* Subtle Tech Dot-Matrix Pattern Overlay */
.footer-card-modern::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
  z-index: 0;
}

/* Ambient Glowing Orbs inside Dark Footer Card */
.footer-card-glow-left {
  position: absolute;
  top: -70px;
  left: -50px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.22) 0%, transparent 70%);
  filter: blur(18px);
  pointer-events: none;
  z-index: 0;
}

.footer-card-glow-right {
  position: absolute;
  bottom: -80px;
  right: -40px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.22) 0%, transparent 70%);
  filter: blur(18px);
  pointer-events: none;
  z-index: 0;
}

/* Top Row: Identity + Actions */
.footer-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.footer-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.footer-logo-box {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 13px;
  background: linear-gradient(135deg, #2563eb 0%, #6366f1 100%);
  border: 1px solid rgba(147, 197, 253, 0.35);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.08rem;
  box-shadow:
    0 8px 20px -4px rgba(37, 99, 235, 0.5),
    inset 0 1px 1px rgba(255, 255, 255, 0.35);
}

.footer-identity-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.footer-name-row {
  display: flex;
  align-items: center;
  gap: 7px;
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.04rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.footer-verified-badge {
  color: #38bdf8;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.35));
}

.footer-brand-role {
  font-size: 0.78rem;
  font-weight: 500;
  color: #94a3b8;
  line-height: 1.35;
}

/* Right Side: Status Pill + Social Buttons */
.footer-actions-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 100px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #6ee7b7;
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: all 0.25s ease;
}

.footer-status-pill:hover {
  background: rgba(16, 185, 129, 0.24);
  border-color: rgba(52, 211, 153, 0.6);
  color: #a7f3d0;
  transform: translateY(-1px);
}

.footer-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981, 0 0 0 3px rgba(16, 185, 129, 0.22);
  flex-shrink: 0;
}

.footer-socials-group {
  display: flex;
  align-items: center;
  gap: 7px;
}

.footer-social-btn,
.footer-back-top {
  width: 35px;
  height: 35px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.footer-social-btn:hover {
  background: rgba(59, 130, 246, 0.22);
  border-color: rgba(96, 165, 250, 0.5);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.3);
}

.footer-social-btn.social-wa:hover {
  background: rgba(16, 185, 129, 0.22);
  border-color: rgba(52, 211, 153, 0.5);
  color: #6ee7b7;
}

.footer-social-btn.social-ig:hover {
  background: rgba(236, 72, 153, 0.22);
  border-color: rgba(244, 114, 182, 0.5);
  color: #f9a8d4;
}

.footer-back-top {
  background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
  border-color: rgba(147, 197, 253, 0.4);
  color: #ffffff;
  margin-left: 2px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.footer-back-top:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  border-color: #93c5fd;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(59, 130, 246, 0.45);
}

/* Quick Navigation Strip */
.footer-nav-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 12px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
  position: relative;
  z-index: 2;
  backdrop-filter: blur(8px);
}

.footer-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #cbd5e1;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.22s ease;
}

.footer-nav-link i {
  font-size: 0.7rem;
  color: #60a5fa;
  opacity: 0.85;
  transition: transform 0.22s ease, color 0.22s ease;
}

.footer-nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.footer-nav-link:hover i {
  color: #38bdf8;
  transform: translateY(-1px);
}

.footer-nav-link.footer-nav-cta {
  background: rgba(59, 130, 246, 0.18);
  border: 1px solid rgba(96, 165, 250, 0.3);
  color: #93c5fd;
}

.footer-nav-link.footer-nav-cta:hover {
  background: #2563eb;
  border-color: #3b82f6;
  color: #ffffff;
}

.footer-nav-link.footer-nav-cta:hover i {
  color: #ffffff;
}

/* Bottom Row: Copyright & Credit */
.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(148, 163, 184, 0.2);
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.footer-copy {
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.45;
}

.footer-copy strong {
  color: #f8fafc;
  font-weight: 700;
}

.footer-credit-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 11px;
  border-radius: 100px;
}

.footer-credit-tag i {
  color: #38bdf8;
  font-size: 0.7rem;
}

/* ============================================================
   RESPONSIVE DESIGN & MOBILE OPTIMIZATIONS (TABLET & SMARTPHONES)
============================================================ */

/* Tablet & Smaller Laptops (<= 1024px) */
@media (max-width: 1024px) {
  .hero-container {
    padding-top: 110px;
    width: 92%;
  }

  .about-container-wide {
    width: 92%;
  }

  .contact-modern-wrapper {
    padding: 30px 24px;
  }

  .contact-grid {
    gap: 28px;
    grid-template-columns: 1fr 1.2fr;
  }

  .exp-modern-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

/* Tablet & Mobile Breakpoint (<= 900px) */
@media (max-width: 900px) {

  /* Hero Section (<= 900px) */
  .hero-section {
    min-height: 100svh;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    padding: 0;
  }

  .hero-container {
    min-height: 100svh;
    min-height: 100vh;
    width: 100%;
    padding: 74px 20px 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
  }

  .hero-avatar-box {
    order: 2;
    position: relative;
    width: 100%;
    max-width: 380px;
    min-width: unset;
    height: auto;
    margin: auto auto 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 2;
    line-height: 0;
  }

  .hero-avatar-halo {
    width: 240px;
    height: 240px;
    bottom: 5%;
  }

  .hero-avatar-box::before {
    display: none !important;
  }

  .hero-avatar-box img,
  .hero-avatar {
    position: relative;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 42vh;
    object-fit: contain;
    object-position: bottom center;
    border-radius: 0;
    border: none;
    box-shadow: none;
    filter: none;
    display: block;
    margin: 0 auto;
    vertical-align: bottom;
    z-index: 2;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 65%, rgba(0, 0, 0, 0.5) 80%, rgba(0, 0, 0, 0.15) 92%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 65%, rgba(0, 0, 0, 0.5) 80%, rgba(0, 0, 0, 0.15) 92%, transparent 100%);
  }

  .hero-content {
    width: 100%;
    max-width: 660px;
    padding: 0;
    margin-top: auto;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: 3;
  }

  .hero-badge-wrap {
    justify-content: center;
    margin-bottom: 10px;
  }

  .hero-status-badge-wrap {
    justify-content: center;
    margin-top: 0;
    margin-bottom: 12px;
  }

  .hero-cta {
    justify-content: center;
    margin-bottom: 14px;
    gap: 8px;
  }

  .hero-social {
    justify-content: center;
  }

  .hero-title {
    font-size: clamp(1.85rem, 5.2vw, 2.5rem);
  }

  .hero-desc {
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.9rem;
    margin-bottom: 16px;
  }

  /* About Grid */
  .about-modern-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-3d-card-wrapper {
    max-width: 310px;
    margin: 0 auto;
    width: 100%;
  }

  .about-details-grid-3d {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
  }

  /* Experience, Projects, Services Grid */
  .exp-modern-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
  }

  .awards-modern-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  /* Contact Section */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-modern-wrapper {
    padding: 26px 20px;
    border-radius: 20px;
  }
}

/* Smartphone Portrait (<= 600px) */
@media (max-width: 600px) {
  :root {
    --container-max: 100%;
  }

  body {
    font-size: 15px;
  }

  .container {
    padding: 0 16px;
  }

  .about-container-wide {
    width: 100%;
    padding: 0 16px;
  }

  /* Section Spacing */
  .section {
    padding: 56px 0;
  }

  .section-header {
    margin-bottom: 26px;
  }

  .section-tag {
    font-size: 0.62rem;
    padding: 4px 12px 4px 9px;
    margin-bottom: 8px;
  }

  .section-title {
    font-size: 1.48rem;
    padding-bottom: 13px;
  }

  /* Hero Section Mobile Optimization (<= 600px) - Open Frameless Layout */
  .hero-section {
    min-height: 100svh;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0;
    overflow: hidden;
  }

  .hero-container {
    min-height: 100svh;
    min-height: 100vh;
    width: 100%;
    padding: 66px 16px 0 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
  }

  .hero-content {
    width: 100%;
    padding: 0;
    margin-top: auto;
    margin-bottom: 10px;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    z-index: 3;
    position: relative;
  }

  .hero-content::before {
    display: none !important;
  }

  .hero-badge-wrap {
    justify-content: center;
    gap: 7px;
    margin-bottom: 10px;
  }

  .hero-greeting {
    font-size: 0.66rem;
    padding: 4px 12px;
    gap: 6px;
  }

  .hero-verified-tag {
    font-size: 0.64rem;
    padding: 4px 10px;
  }

  .hero-title {
    font-size: clamp(1.48rem, 5.6vw, 1.85rem);
    line-height: 1.2;
    margin-bottom: 8px;
  }

  .hero-role-row {
    padding: 4.5px 13px 4.5px 8px;
    border-radius: 999px;
    gap: 7px;
    margin-bottom: 10px;
  }

  .hero-role-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 0.62rem;
  }

  .hero-subtitle {
    font-size: 0.8rem;
    margin: 0;
  }

  .hero-status-badge-wrap {
    justify-content: center;
    margin-top: 0;
    margin-bottom: 10px;
  }

  /* Hero Status Badge on Mobile - Always clean single line */
  .hero-status-badge {
    font-size: clamp(0.64rem, 2.8vw, 0.73rem);
    padding: 5px 12px;
    max-width: 96%;
    text-align: center;
    white-space: nowrap;
    line-height: 1.25;
    border-radius: 999px;
    gap: 6px;
  }

  .hero-desc {
    font-size: 0.8rem;
    line-height: 1.5;
    margin: 0 auto 12px auto;
    max-width: 370px;
  }

  /* Hide Hero CTA Buttons on Mobile Screen to keep view clean and uncluttered */
  .hero-cta {
    display: none !important;
  }

  /* Hero Social */
  .hero-social {
    justify-content: center;
    gap: 9px;
    margin-bottom: 4px;
  }

  .hero-social .social-icon {
    width: 35px;
    height: 35px;
    font-size: 0.92rem;
    border-radius: 10px;
  }

  /* Hero Avatar on Mobile - Seamless bottom blend into hero */
  .hero-avatar-box {
    order: 2;
    position: relative;
    width: 100%;
    max-width: 320px;
    min-width: unset;
    height: auto;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 2;
    line-height: 0;
  }

  .hero-avatar-halo {
    width: 220px;
    height: 220px;
    bottom: 6%;
  }

  .hero-avatar-box::before {
    display: none !important;
  }

  .hero-avatar-box img,
  .hero-avatar {
    position: relative;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 41vh;
    object-fit: contain;
    object-position: bottom center;
    border-radius: 0;
    border: none;
    box-shadow: none;
    filter: none;
    display: block;
    margin: 0 auto;
    vertical-align: bottom;
    z-index: 2;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 62%, rgba(0, 0, 0, 0.5) 78%, rgba(0, 0, 0, 0.15) 90%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 62%, rgba(0, 0, 0, 0.5) 78%, rgba(0, 0, 0, 0.15) 90%, transparent 100%);
  }

  /* About 3D Card on Phones - Floating Lanyard Badge */
  .about-3d-card-wrapper {
    max-width: 242px;
    margin: 0 auto 16px auto;
    padding-top: 98px;
    perspective: none;
  }

  .badge-lanyard-assembly {
    top: -8px;
  }

  .lanyard-upper-fixed {
    width: 74px;
    height: 76px;
  }

  .badge-lanyard-strap {
    top: 70px;
    width: 74px;
    height: 28px;
  }

  .badge-punch-hole {
    top: 8px;
    width: 32px;
    height: 6px;
  }

  .about-3d-card {
    max-width: 242px;
    padding: 0;
    border-radius: 18px;
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    animation: lanyardCardFloat 4.5s ease-in-out infinite alternate !important;
  }

  .about-3d-card:hover {
    transform: none;
  }

  .avatar-ring-wrapper {
    width: 140px;
    height: 162px;
    margin: 4px auto 8px;
    padding: 4px;
  }

  .about-3d-avatar {
    width: 100%;
    height: 100%;
    border-radius: 14px;
    border: none;
    object-fit: cover;
    object-position: center 12%;
    filter: none;
  }

  .avatar-status-pill {
    font-size: 0.52rem;
    padding: 2px 7px;
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    transform: none;
  }

  .about-3d-name {
    font-size: 0.82rem;
    margin: 0;
    color: #0f172a;
    font-weight: 800;
  }

  .about-3d-role {
    margin: 0;
  }

  .about-3d-role span {
    font-size: 0.58rem;
    padding: 2.5px 10px;
    font-weight: 700;
    color: #1d4ed8;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.08) 0%, rgba(6, 182, 212, 0.12) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
  }

  .social-btn-brand {
    width: 27px;
    height: 27px;
    font-size: 0.78rem;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
  }

  /* About Bio Box on Phones */
  .about-bio-box {
    padding: 15px 14px 14px;
    margin-top: 0;
    border-radius: 18px;
    gap: 11px;
  }

  .bio-card-header {
    padding-bottom: 10px;
    gap: 10px;
  }

  .quote-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    font-size: 0.92rem;
    border-radius: 11px;
  }

  .bio-eyebrow {
    font-size: 0.56rem;
    padding: 2px 6px;
  }

  .bio-verified-pill {
    font-size: 0.58rem;
    padding: 2px 8px;
  }

  .bio-title {
    font-size: 0.94rem;
  }

  .bio-body-wrap {
    padding: 11px 12px 11px 18px;
    border-radius: 12px;
  }

  .bio-spine-track {
    left: 6px;
    top: 10px;
    bottom: 10px;
  }

  .about-lead {
    font-size: 0.81rem;
    line-height: 1.6;
  }

  .bio-focus-footer {
    gap: 8px;
    padding-top: 10px;
  }

  .bio-synergy-label {
    font-size: 0.6rem;
  }

  .bio-synergy-status {
    font-size: 0.58rem;
    padding: 2px 7px;
  }

  /* Connected Vertical Pillar Pipeline on Mobile */
  .bio-focus-pipeline {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .bio-pipeline-track {
    top: 12px;
    bottom: 12px;
    left: 22px;
    right: auto;
    width: 3px;
    height: auto;
    transform: none;
  }

  .bio-pipeline-beam {
    left: 0;
    top: -40%;
    width: 100%;
    height: 40%;
    background: linear-gradient(180deg, transparent, #2563eb, #6366f1, #10b981, transparent);
    animation: bioPipelineVertical 2.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  }

  @keyframes bioPipelineVertical {
    0% {
      top: -40%;
    }
    100% {
      top: 105%;
    }
  }

  .bio-focus-chip {
    padding: 7px 10px;
    border-radius: 11px;
    gap: 9px;
  }

  .chip-icon-box {
    width: 28px;
    height: 28px;
    min-width: 28px;
    font-size: 0.74rem;
  }

  .chip-text-col small {
    font-size: 0.52rem;
  }

  .chip-text-col span {
    font-size: 0.74rem;
  }

  /* About Statistics Grid - 3 Columns Compact */
  .about-stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .stat-counter-card {
    padding: 12px 10px;
    border-radius: 14px;
    gap: 8px;
  }

  .stat-card-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .stat-icon-wrapper {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
    margin-bottom: 0;
    border-radius: 9px;
  }

  .stat-number {
    font-size: 1.25rem;
    margin-bottom: 1px;
  }

  .stat-label {
    font-size: 0.58rem;
    letter-spacing: 0.02em;
    line-height: 1.2;
    white-space: normal;
  }

  .stat-subtext {
    display: none;
  }

  /* About Contact Details - Compact List with Clean Text */
  .about-details-grid-3d {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .detail-card-3d {
    padding: 10px 12px;
    border-radius: 14px;
    gap: 10px;
  }

  .icon-3d-box {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 10px;
    font-size: 1rem;
  }

  .detail-info small {
    font-size: 0.64rem;
    margin-bottom: 1px;
  }

  .detail-info strong {
    font-size: clamp(0.72rem, 2.7vw, 0.82rem);
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.01em;
  }

  .detail-card-3d.detail-loc {
    align-items: flex-start;
  }

  .detail-card-3d.detail-loc .icon-3d-box {
    margin-top: 2px;
  }

  .detail-card-3d.detail-loc .detail-info strong {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.35;
    font-size: clamp(0.72rem, 2.7vw, 0.8rem);
  }

  /* Skills Section on Mobile */
  .skill-group-header {
    padding: 13px 14px;
    margin-bottom: 14px;
    border-radius: 14px;
    gap: 9px;
  }

  .skill-header-top {
    gap: 10px;
  }

  .skill-header-icon-box {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    font-size: 0.9rem;
  }

  .skill-group-title {
    font-size: 0.9rem;
    line-height: 1.22;
  }

  .skill-group-subtitle-box {
    padding: 6px 9px;
    border-radius: 8px;
    gap: 7px;
  }

  .skill-group-subtitle {
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .skills-modern-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  /* Projects Grid */
  .projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
  }

  .project-card {
    padding: 7px 7px 8px;
    border-radius: 12px;
    gap: 6px;
  }

  .project-logo-showcase {
    height: 98px;
    padding: 22px 8px 6px;
    border-radius: 9px;
  }

  .project-body {
    padding: 6px 8px;
    min-height: 40px;
    border-radius: 8px;
    gap: 7px;
  }

  .project-body-icon {
    width: 25px;
    height: 25px;
    min-width: 25px;
    border-radius: 6px;
    font-size: 0.7rem;
  }

  .project-title {
    font-size: 0.72rem;
  }

  /* Services Grid */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service-card-modern {
    padding: 15px 14px 13px;
    border-radius: 16px;
  }

  .service-icon-box {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 10px;
    font-size: 0.98rem;
  }

  .service-title-modern {
    font-size: 0.94rem;
    margin-bottom: 8px;
  }

  .service-desc-box {
    padding: 8px 10px;
    margin-bottom: 8px;
  }

  .service-desc-modern {
    font-size: 0.76rem;
  }

  .service-preview-item {
    font-size: 0.7rem;
  }

  /* Awards Cards */
  .awards-modern-grid {
    gap: 12px;
  }

  .award-card-modern {
    padding: 14px 14px 12px;
    border-radius: 16px;
    gap: 10px;
  }

  .award-card-head {
    gap: 11px;
  }

  .award-icon-box {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 11px;
    font-size: 1rem;
  }

  .award-category-pill {
    font-size: 0.56rem;
    padding: 2px 7px;
  }

  .award-year-badge {
    font-size: 0.62rem;
    padding: 2px 8px;
  }

  .award-title {
    font-size: 0.92rem;
    line-height: 1.3;
  }

  .award-desc-box {
    padding: 9px 11px;
    border-radius: 10px;
  }

  .award-desc {
    font-size: 0.76rem;
    line-height: 1.48;
  }

  .award-footer {
    padding-top: 8px;
  }

  .award-verified {
    font-size: 0.64rem;
    padding: 3px 8px;
  }

  .award-seq-label {
    font-size: 0.64rem;
  }

  /* Contact Section Form */
  .contact-modern-wrapper {
    padding: 20px 14px;
    border-radius: 18px;
    width: 100%;
    box-sizing: border-box;
  }

  .contact-status-pill {
    font-size: 0.68rem;
    padding: 5px 10px;
    white-space: normal;
    line-height: 1.35;
    text-align: left;
    display: inline-flex;
    max-width: 100%;
    border-radius: 10px;
  }

  .contact-heading {
    font-size: 1.25rem;
    line-height: 1.28;
  }

  .contact-subtext {
    font-size: 0.82rem;
    line-height: 1.5;
  }

  .contact-items {
    gap: 8px;
    margin: 12px 0;
  }

  .contact-form-box {
    padding: 16px 12px;
    border-radius: 14px;
    margin-top: 14px;
  }

  .contact-form-inner-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .contact-form-inner-grid .col-half,
  .contact-form-inner-grid .col-full {
    grid-column: span 1;
  }

  .contact-row {
    padding: 10px 12px;
    border-radius: 12px;
    gap: 10px;
    align-items: center;
  }

  .contact-row.row-location {
    align-items: flex-start;
  }

  .contact-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    font-size: 0.92rem;
    border-radius: 8px;
    margin-top: 0;
    flex-shrink: 0;
  }

  .contact-row.row-location .contact-icon {
    margin-top: 2px;
  }

  .contact-row-content {
    min-width: 0;
    flex: 1;
    overflow: hidden;
  }

  .contact-row-content small {
    font-size: 0.62rem;
    margin-bottom: 2px;
  }

  .contact-row-content span {
    font-size: clamp(0.72rem, 2.7vw, 0.82rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.25;
    letter-spacing: -0.01em;
  }

  /* Khusus alamat domisili agar tidak terpotong di pinggir: biarkan membungkus rapi */
  .contact-row.row-location .contact-row-content span {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.35;
    font-size: clamp(0.72rem, 2.7vw, 0.8rem);
  }

  .contact-row-arrow {
    margin-top: 0;
    flex-shrink: 0;
  }

  .contact-trust-box {
    padding: 10px 12px;
    border-radius: 10px;
    gap: 10px;
  }

  .contact-trust-box strong {
    font-size: 0.76rem;
    line-height: 1.3;
  }

  .contact-trust-box span {
    font-size: 0.7rem;
    line-height: 1.35;
    margin-top: 2px;
  }

  .btn-modern-submit {
    padding: 11px 14px;
    font-size: 0.86rem;
  }

  /* Footer on Mobile */
  .footer {
    padding: 16px 0 24px;
    margin-top: 36px;
  }

  .footer-card-modern {
    padding: 16px 14px 14px;
    border-radius: 18px;
    gap: 12px;
  }

  .footer-top-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .footer-identity {
    gap: 11px;
  }

  .footer-logo-box {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 11px;
    font-size: 0.92rem;
  }

  .footer-brand-name {
    font-size: 0.9rem;
  }

  .footer-brand-role {
    font-size: 0.72rem;
  }

  .footer-actions-right {
    justify-content: space-between;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .footer-status-pill {
    font-size: 0.66rem;
    padding: 5px 10px;
  }

  .footer-socials-group {
    gap: 5px;
  }

  .footer-social-btn,
  .footer-back-top {
    width: 31px;
    height: 31px;
    border-radius: 9px;
    font-size: 0.8rem;
  }

  .footer-nav-strip {
    padding: 8px 6px;
    gap: 4px;
    border-radius: 10px;
  }

  .footer-nav-link {
    font-size: 0.7rem;
    padding: 4px 9px;
  }

  .footer-bottom-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding-top: 10px;
  }

  .footer-copy {
    font-size: 0.72rem;
  }

  .footer-credit-tag {
    font-size: 0.68rem;
    padding: 3px 9px;
  }

  /* Service Modal on Mobile */
  .service-modal-content {
    width: 92%;
    max-width: 350px;
    max-height: 85vh;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    padding: 15px 14px 13px;
    border-radius: 16px;
    margin: auto;
  }

  .service-modal-header {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding-right: 28px;
    padding-bottom: 10px;
    margin-bottom: 10px;
  }

  .service-modal-icon-wrap {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    font-size: 0.92rem;
  }

  .service-modal-pill {
    font-size: 0.52rem;
    padding: 2px 7px;
  }

  .service-modal-title {
    font-size: 0.88rem;
  }

  .service-modal-body {
    gap: 10px;
    margin-bottom: 12px;
  }

  .service-modal-desc-box,
  .service-modal-features-box {
    padding: 9px 10px;
    border-radius: 10px;
  }

  .srv-modal-section-head h4 {
    font-size: 0.74rem;
  }

  .service-modal-desc-box p {
    font-size: 0.74rem;
  }

  .srv-modal-features-list li {
    padding: 6px 9px;
    font-size: 0.72rem;
    border-radius: 8px;
  }

  .btn-srv-modal-consult {
    padding: 9px 14px;
    font-size: 0.76rem;
    border-radius: 10px;
  }
}

/* PROJECT MODAL CSS */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  overflow-y: auto;
  padding: 24px 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.modal-content {
  background: var(--bg-card);
  max-width: 860px;
  margin: 30px auto;
  border-radius: 22px;
  border: 1px solid var(--border-color);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.modal-close:hover {
  background: #ef4444;
  color: #fff;
  border-color: #ef4444;
  transform: rotate(90deg);
}

.modal-header {
  padding: 26px 30px 20px 30px;
  border-bottom: 1px solid var(--border-color);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.03) 0%, transparent 100%);
}

.modal-header h3 {
  font-size: 1.55rem;
  font-family: var(--font-heading);
  color: var(--text-main);
  margin: 0 0 10px 0;
  padding-right: 48px;
  line-height: 1.3;
}

.modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.modal-body {
  padding: 26px 30px 32px 30px;
}

/* Modal Mockup Image Frame */
.project-modal-img-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: #f8fafc;
  margin-bottom: 26px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.project-modal-img-wrap .project-window-bar {
  position: relative;
  height: 26px;
  padding: 0 12px;
}

.modal-main-img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.modal-grid {
  display: grid;
  grid-template-columns: 1.6fr 1.1fr;
  gap: 26px;
  align-items: start;
}

.modal-col-main h4 {
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 12px;
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-col-main p {
  color: var(--text-sub);
  line-height: 1.7;
  font-size: 0.92rem;
}

.modal-features-content {
  color: var(--text-sub);
  font-size: 0.9rem;
  line-height: 1.7;
  white-space: pre-wrap;
  background: var(--bg-main);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.modal-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 10px;
}

.modal-gallery-grid img {
  width: 100%;
  height: 75px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all 0.25s ease;
}

.modal-gallery-grid img:hover {
  transform: scale(1.05);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

/* Modal Side Info Card */
.modal-side-card {
  background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-card) 100%);
  border: 1px solid var(--border-color);
  padding: 20px 22px;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02);
}

.modal-side-card h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 14px;
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-info-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 0.86rem;
  font-weight: 500;
}

.modal-info-list li i {
  color: var(--primary);
  font-size: 0.95rem;
}

/* Project Tags in Modal */
.modal-side-card .project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.modal-side-card .tag-item {
  display: inline-flex;
  align-items: center;
  font-size: 0.74rem;
  font-weight: 600;
  background: var(--bg-card);
  color: var(--text-main);
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: all 0.2s ease;
}

.modal-side-card .tag-item:hover {
  border-color: rgba(37, 99, 235, 0.35);
  color: var(--primary);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .modal-grid {
    grid-template-columns: 1fr;
  }

  .modal-content {
    margin: 15px auto;
  }
}

/* ==============================================================
 * DYNAMIC & VIBRANT SCROLL REVEAL & MICRO-ANIMATIONS SYSTEM
 * ============================================================ */

/* Hero Entrance Animations - Ultra-Smooth Spring (Triggered after Preloader Dismisses) */
.hero-badge-wrap,
.hero-title,
.hero-role-row,
.hero-status-badge-wrap,
.hero-desc,
.hero-cta,
.hero-social {
  opacity: 0;
  transform: translate3d(0, 34px, 0) scale(0.97);
}

.hero-section.hero-entered .hero-badge-wrap {
  animation: heroSpringUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.08s;
}

.hero-section.hero-entered .hero-title {
  animation: heroSpringUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards, heroTitleShimmer 6s linear infinite 1.1s;
  animation-delay: 0.18s;
}

.hero-section.hero-entered .hero-role-row {
  animation: heroSpringUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.28s;
}

.hero-section.hero-entered .hero-status-badge-wrap {
  animation: heroSpringUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.36s;
}

.hero-section.hero-entered .hero-desc {
  animation: heroSpringUp 1.05s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.44s;
}

.hero-section.hero-entered .hero-cta {
  animation: heroSpringUp 1.05s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.52s;
}

.hero-section.hero-entered .hero-social {
  animation: heroSpringUp 1.05s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.6s;
}

/* Hero Photo (Avatar) - Smooth Cinematic Rise from Bottom */
.hero-avatar-box {
  opacity: 0;
  transform: translate3d(0, 115px, 0) scale(0.94);
  filter: blur(8px);
  will-change: transform, opacity, filter;
}

.hero-section.hero-entered .hero-avatar-box {
  animation: heroAvatarRiseFromBottom 1.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.15s;
}

@keyframes heroSpringUp {
  0% {
    opacity: 0;
    transform: translate3d(0, 34px, 0) scale(0.97);
  }

  65% {
    opacity: 0.95;
    transform: translate3d(0, -2px, 0) scale(1.004);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes heroAvatarRiseFromBottom {
  0% {
    opacity: 0;
    transform: translate3d(0, 115px, 0) scale(0.94);
    filter: blur(8px);
  }

  60% {
    opacity: 1;
    filter: blur(0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

/* Scroll Reveal Base Classes - Ultra-Smooth, Fluid & Organic Apple-like Motion */
.reveal-on-scroll {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  filter: blur(6px);
  transition:
    opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.1s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

/* Stagger Animation Delays for Grids & Steppers */
.reveal-stagger {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  filter: blur(5px);
  transition:
    opacity 1.05s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.05s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

.reveal-stagger.revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

/* Left / Right / Zoom Slide Variations */
.reveal-left {
  opacity: 0;
  transform: translate3d(-32px, 0, 0);
  filter: blur(6px);
  transition:
    opacity 1.15s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.15s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.95s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

.reveal-left.revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

.reveal-right {
  opacity: 0;
  transform: translate3d(32px, 0, 0);
  filter: blur(6px);
  transition:
    opacity 1.15s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.15s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.95s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

.reveal-right.revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

.reveal-zoom {
  opacity: 0;
  transform: translate3d(0, 18px, 0) scale(0.96);
  filter: blur(6px);
  transition:
    opacity 1.15s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.15s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.95s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

.reveal-zoom.revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

/* Section Header Tag & Title Cascade on Scroll */
.section-header.reveal-on-scroll .section-tag {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.05s;
}

.section-header.reveal-on-scroll .section-title {
  opacity: 0;
  transform: translateY(14px);
  transition: all 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.12s;
}

.section-header.reveal-on-scroll.revealed .section-tag,
.section-header.reveal-on-scroll.revealed .section-title {
  opacity: 1;
  transform: translateY(0);
}

/* Respect Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll,
  .reveal-stagger,
  .reveal-left,
  .reveal-right,
  .reveal-zoom {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

/* Hover Smooth Physics for Interactive Cards & Elements */
.project-card,
.service-card-modern,
.award-card-modern,
.skill-modern-card,
.exp-career-card,
.edu-step-card,
.stat-counter-card,
.process-step-card-compact,
.about-bio-box,
.detail-card-3d {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s ease,
    background 0.4s ease !important;
}

/* ==========================================================================
   THEME TOGGLE BUTTON (FROSTED GLASS PILL WITH SMOOTH ICON SWAP)
   ========================================================================== */
.btn-theme-toggle {
  position: relative;
  width: 44px;
  height: 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f8fafc;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 4px;
  padding: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  flex-shrink: 0;
}

.btn-theme-toggle:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(96, 165, 250, 0.4);
  transform: scale(1.05);
}

.theme-toggle-slider {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-icon-moon,
.theme-icon-sun {
  position: absolute;
  font-size: 0.88rem;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.theme-icon-moon {
  color: #38bdf8;
  transform: translateY(0) rotate(0deg);
  opacity: 1;
}

.theme-icon-sun {
  color: #fbbf24;
  transform: translateY(18px) rotate(90deg);
  opacity: 0;
}

/* When Dark Theme is Active */
[data-theme="dark"] .theme-icon-moon {
  transform: translateY(-18px) rotate(-90deg);
  opacity: 0;
}

[data-theme="dark"] .theme-icon-sun {
  transform: translateY(0) rotate(0deg);
  opacity: 1;
}

/* ==========================================================================
   COMPREHENSIVE DARK THEME ADAPTATION (PERFECT CONTRAST FOR ALL CARDS & LABELS)
   ========================================================================== */
[data-theme="dark"] body {
  background-color: #070b14 !important;
  background-image: linear-gradient(180deg, #070b14 0%, #0b1120 50%, #070b14 100%) !important;
  color: #f1f5f9 !important;
}

[data-theme="dark"] .section,
[data-theme="dark"] .about-section,
[data-theme="dark"] .education-section,
[data-theme="dark"] .skills-section,
[data-theme="dark"] .experience-section,
[data-theme="dark"] .projects-section,
[data-theme="dark"] .services-section,
[data-theme="dark"] .process-section,
[data-theme="dark"] .awards-section,
[data-theme="dark"] .contact-section {
  background: transparent !important;
  border-top: 1px solid rgba(30, 41, 59, 0.8) !important;
}

[data-theme="dark"] .section:nth-of-type(even) {
  background: rgba(15, 23, 42, 0.45) !important;
}

/* Dark Mode Bento Cards */
[data-theme="dark"] .about-bio-box,
[data-theme="dark"] .stat-counter-card,
[data-theme="dark"] .edu-step-card,
[data-theme="dark"] .skill-group-header,
[data-theme="dark"] .skill-group-header.soft-header,
[data-theme="dark"] .skill-modern-card,
[data-theme="dark"] .exp-career-card,
[data-theme="dark"] .project-card,
[data-theme="dark"] .proj-theme-indigo.project-card,
[data-theme="dark"] .proj-theme-teal.project-card,
[data-theme="dark"] .proj-theme-purple.project-card,
[data-theme="dark"] .service-card-modern,
[data-theme="dark"] .process-step-card-compact,
[data-theme="dark"] .award-card-modern,
[data-theme="dark"] .contact-modern-wrapper,
[data-theme="dark"] .contact-form-box {
  background: linear-gradient(165deg, rgba(17, 24, 39, 0.95) 0%, rgba(11, 17, 33, 0.92) 100%) !important;
  border: 1px solid rgba(51, 65, 85, 0.75) !important;
  box-shadow:
    0 14px 30px -8px rgba(0, 0, 0, 0.65),
    0 2px 6px -1px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  color: #f1f5f9 !important;
}

/* Skill Subtitle / Header Inner Box in Dark Mode (No White Rectangle!) */
[data-theme="dark"] .skill-group-subtitle-box {
  background: rgba(15, 23, 42, 0.85) !important;
  border: 1px solid rgba(51, 65, 85, 0.8) !important;
}

[data-theme="dark"] .skill-group-subtitle {
  color: #e2e8f0 !important;
}

[data-theme="dark"] .skill-group-subtitle-box i {
  color: #38bdf8 !important;
}

[data-theme="dark"] .skill-group-subtitle-box.soft-sub-box i {
  color: #34d399 !important;
}

/* Skill Cards Titles & Badges in Dark Mode */
[data-theme="dark"] .skill-name {
  color: #f8fafc !important;
}

[data-theme="dark"] .skill-icon-placeholder {
  background: #0f172a !important;
  border-color: rgba(51, 65, 85, 0.8) !important;
}

[data-theme="dark"] .skill-category-badge {
  background: rgba(15, 23, 42, 0.9) !important;
  border-color: rgba(51, 65, 85, 0.8) !important;
}

/* Skill Themes in Dark Mode */
[data-theme="dark"] .skill-theme-blue {
  border-color: rgba(56, 189, 248, 0.35) !important;
}
[data-theme="dark"] .skill-theme-blue .skill-category-badge {
  color: #38bdf8 !important;
  border-color: rgba(56, 189, 248, 0.4) !important;
}
[data-theme="dark"] .skill-theme-blue .skill-icon-placeholder,
[data-theme="dark"] .skill-theme-blue .skill-card-arrow {
  color: #38bdf8 !important;
}

[data-theme="dark"] .skill-theme-red {
  border-color: rgba(251, 113, 133, 0.35) !important;
}
[data-theme="dark"] .skill-theme-red .skill-category-badge {
  color: #fb7185 !important;
  border-color: rgba(251, 113, 133, 0.4) !important;
}
[data-theme="dark"] .skill-theme-red .skill-icon-placeholder,
[data-theme="dark"] .skill-theme-red .skill-card-arrow {
  color: #fb7185 !important;
}

[data-theme="dark"] .skill-theme-indigo {
  border-color: rgba(167, 139, 250, 0.35) !important;
}
[data-theme="dark"] .skill-theme-indigo .skill-category-badge {
  color: #c084fc !important;
  border-color: rgba(167, 139, 250, 0.4) !important;
}
[data-theme="dark"] .skill-theme-indigo .skill-icon-placeholder,
[data-theme="dark"] .skill-theme-indigo .skill-card-arrow {
  color: #c084fc !important;
}

[data-theme="dark"] .skill-theme-cyan {
  border-color: rgba(34, 211, 238, 0.35) !important;
}
[data-theme="dark"] .skill-theme-cyan .skill-category-badge {
  color: #22d3ee !important;
  border-color: rgba(34, 211, 238, 0.4) !important;
}
[data-theme="dark"] .skill-theme-cyan .skill-icon-placeholder,
[data-theme="dark"] .skill-theme-cyan .skill-card-arrow {
  color: #22d3ee !important;
}

[data-theme="dark"] .skill-theme-emerald {
  border-color: rgba(52, 211, 153, 0.35) !important;
}
[data-theme="dark"] .skill-theme-emerald .skill-category-badge {
  color: #34d399 !important;
  border-color: rgba(52, 211, 153, 0.4) !important;
}
[data-theme="dark"] .skill-theme-emerald .skill-icon-placeholder,
[data-theme="dark"] .skill-theme-emerald .skill-card-arrow {
  color: #34d399 !important;
}

[data-theme="dark"] .skill-theme-amber {
  border-color: rgba(251, 191, 36, 0.35) !important;
}
[data-theme="dark"] .skill-theme-amber .skill-category-badge {
  color: #fbbf24 !important;
  border-color: rgba(251, 191, 36, 0.4) !important;
}
[data-theme="dark"] .skill-theme-amber .skill-icon-placeholder,
[data-theme="dark"] .skill-theme-amber .skill-card-arrow {
  color: #fbbf24 !important;
}

/* Inline "Lihat Lainnya" Button in Dark Mode */
[data-theme="dark"] .skill-modern-card.btn-skills-more {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.25) 0%, rgba(79, 70, 229, 0.22) 100%) !important;
  border: 1.5px dashed rgba(96, 165, 250, 0.6) !important;
}

[data-theme="dark"] .skill-modern-card.btn-skills-more .skill-name {
  color: #60a5fa !important;
}

[data-theme="dark"] .skill-modern-card.btn-skills-more .skill-category-badge {
  background: rgba(15, 23, 42, 0.8) !important;
  color: #93c5fd !important;
  border-color: rgba(96, 165, 250, 0.4) !important;
}

[data-theme="dark"] .skill-modern-card.btn-skills-more.btn-soft-more {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(5, 150, 105, 0.18) 100%) !important;
  border-color: rgba(52, 211, 153, 0.6) !important;
}

[data-theme="dark"] .skill-modern-card.btn-skills-more.btn-soft-more .skill-name {
  color: #34d399 !important;
}

[data-theme="dark"] .skill-modern-card.btn-skills-more.btn-soft-more .skill-category-badge {
  background: rgba(15, 23, 42, 0.8) !important;
  color: #6ee7b7 !important;
  border-color: rgba(52, 211, 153, 0.4) !important;
}

/* Dark Mode Typography & High-Contrast Crisp Reading */
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] .section-title,
[data-theme="dark"] .bio-title,
[data-theme="dark"] .project-title,
[data-theme="dark"] .service-title,
[data-theme="dark"] .award-title,
[data-theme="dark"] .skill-group-title,
[data-theme="dark"] .stat-number,
[data-theme="dark"] .edu-step-title,
[data-theme="dark"] .exp-row-title,
[data-theme="dark"] .process-step-title,
[data-theme="dark"] .contact-label,
[data-theme="dark"] .contact-card-title,
[data-theme="dark"] .about-lead strong,
[data-theme="dark"] .project-desc strong,
[data-theme="dark"] .exp-card-title {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

[data-theme="dark"] .section-title {
  background: linear-gradient(180deg, #ffffff 40%, #cbd5e1 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

[data-theme="dark"] p,
[data-theme="dark"] .about-lead,
[data-theme="dark"] .project-desc,
[data-theme="dark"] .service-desc,
[data-theme="dark"] .award-desc,
[data-theme="dark"] .exp-desc,
[data-theme="dark"] .edu-desc,
[data-theme="dark"] .section-subtitle,
[data-theme="dark"] .edu-step-text,
[data-theme="dark"] .exp-row-text,
[data-theme="dark"] .process-step-text,
[data-theme="dark"] .contact-val,
[data-theme="dark"] .contact-info-desc {
  color: #e2e8f0 !important;
  -webkit-text-fill-color: #e2e8f0 !important;
}

/* Secondary meta / subtitle in dark mode */
[data-theme="dark"] .edu-step-institution,
[data-theme="dark"] .exp-row-company,
[data-theme="dark"] .edu-step-year,
[data-theme="dark"] .exp-row-year,
[data-theme="dark"] .stat-label,
[data-theme="dark"] .stat-subtext,
[data-theme="dark"] .skill-cat-pill,
[data-theme="dark"] .award-org,
[data-theme="dark"] .award-year,
[data-theme="dark"] .process-domain-label {
  color: #94a3b8 !important;
}

/* Specific Badges, Chips & Meta In All Cards In Dark Mode */
[data-theme="dark"] .exp-badge,
[data-theme="dark"] .edu-badge,
[data-theme="dark"] .project-tag,
[data-theme="dark"] .service-tag,
[data-theme="dark"] .process-step-badge,
[data-theme="dark"] .process-status-chip,
[data-theme="dark"] .process-big-num {
  background: rgba(15, 23, 42, 0.85) !important;
  border-color: rgba(51, 65, 85, 0.85) !important;
  color: #38bdf8 !important;
}

[data-theme="dark"] .process-desc-box {
  background: rgba(15, 23, 42, 0.85) !important;
  border-color: rgba(51, 65, 85, 0.75) !important;
}

[data-theme="dark"] .process-step-text {
  color: #e2e8f0 !important;
}

[data-theme="dark"] .project-tech-stack span,
[data-theme="dark"] .service-feature-item {
  background: rgba(15, 23, 42, 0.8) !important;
  color: #cbd5e1 !important;
  border: 1px solid rgba(51, 65, 85, 0.75) !important;
}

/* High-contrast ID Card badge in dark mode */
[data-theme="dark"] .about-3d-card {
  background: #0f172a !important;
  border-color: rgba(96, 165, 250, 0.4) !important;
}

[data-theme="dark"] .about-3d-name {
  color: #ffffff !important;
}

[data-theme="dark"] .about-3d-role span {
  color: #38bdf8 !important;
}

[data-theme="dark"] .badge-identity-section,
[data-theme="dark"] .badge-white-footer {
  background: #0f172a !important;
  border-color: rgba(51, 65, 85, 0.8) !important;
}

[data-theme="dark"] .badge-website-url {
  color: #94a3b8 !important;
}

[data-theme="dark"] .card-geometric-bg rect[fill="#ffffff"] {
  fill: #0f172a !important;
}

/* Inner Description Containers in Cards */
[data-theme="dark"] .bio-body-wrap,
[data-theme="dark"] .project-body,
[data-theme="dark"] .service-desc-box,
[data-theme="dark"] .award-desc-box,
[data-theme="dark"] .contact-row {
  background: rgba(15, 23, 42, 0.85) !important;
  border-color: rgba(51, 65, 85, 0.75) !important;
  color: #e2e8f0 !important;
}

[data-theme="dark"] .section-tag {
  background: rgba(15, 23, 42, 0.9) !important;
  border: 1px solid rgba(59, 130, 246, 0.4) !important;
  color: #60a5fa !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="dark"] .edu-step-node,
[data-theme="dark"] .exp-row-node {
  background: #0f172a !important;
  border-color: rgba(51, 65, 85, 0.8) !important;
  color: #38bdf8 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6) !important;
}

[data-theme="dark"] .contact-modern-wrapper {
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.95) 0%, rgba(10, 15, 29, 0.92) 100%) !important;
}

[data-theme="dark"] .form-group-modern input,
[data-theme="dark"] .form-group-modern textarea {
  background: rgba(15, 23, 42, 0.85) !important;
  border-color: rgba(51, 65, 85, 0.8) !important;
  color: #f8fafc !important;
}

[data-theme="dark"] .form-group-modern input:focus,
[data-theme="dark"] .form-group-modern textarea:focus {
  background: rgba(15, 23, 42, 1) !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.25) !important;
}

/* Modals dark adaptation */
[data-theme="dark"] .skills-modal-card,
[data-theme="dark"] .edu-modal-card,
[data-theme="dark"] .srv-modal-card {
  background: linear-gradient(165deg, #0f172a 0%, #090d1a 100%) !important;
  border: 1px solid rgba(51, 65, 85, 0.8) !important;
  color: #f8fafc !important;
}

[data-theme="dark"] .skills-modal-header,
[data-theme="dark"] .edu-modal-header,
[data-theme="dark"] .srv-modal-header {
  background: rgba(15, 23, 42, 0.8) !important;
  border-color: rgba(51, 65, 85, 0.6) !important;
}

[data-theme="dark"] .modal-item-tile,
[data-theme="dark"] .edu-modal-body,
[data-theme="dark"] .srv-modal-body {
  background: rgba(15, 23, 42, 0.6) !important;
  border-color: rgba(51, 65, 85, 0.6) !important;
  color: #cbd5e1 !important;
}

/* Detail Contact Cards in About Section */
[data-theme="dark"] .detail-card-3d.detail-loc,
[data-theme="dark"] .detail-card-3d.detail-mail,
[data-theme="dark"] .detail-card-3d.detail-wa {
  background: rgba(15, 23, 42, 0.85) !important;
  border-color: rgba(51, 65, 85, 0.8) !important;
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.6) !important;
}

[data-theme="dark"] .detail-card-3d .icon-3d-box {
  background: rgba(30, 41, 59, 0.9) !important;
  border-color: rgba(71, 85, 105, 0.7) !important;
}

[data-theme="dark"] .detail-card-3d.detail-loc .icon-3d-box {
  color: #38bdf8 !important;
}

[data-theme="dark"] .detail-card-3d.detail-mail .icon-3d-box {
  color: #c084fc !important;
}

[data-theme="dark"] .detail-card-3d.detail-wa .icon-3d-box {
  color: #4ade80 !important;
}

[data-theme="dark"] .detail-info small {
  color: #94a3b8 !important;
  -webkit-text-fill-color: #94a3b8 !important;
}

[data-theme="dark"] .detail-info strong {
  color: #f8fafc !important;
  -webkit-text-fill-color: #f8fafc !important;
}

/* ============================================================
   MODALS POPUP HIGH-CONTRAST DARK MODE THEME
============================================================ */
[data-theme="dark"] .modal-backdrop,
[data-theme="dark"] .modal {
  background: rgba(2, 6, 23, 0.82) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

[data-theme="dark"] .skills-modal-card,
[data-theme="dark"] .edu-modal-card,
[data-theme="dark"] .srv-modal-card,
[data-theme="dark"] .service-modal-card {
  background: #0b1120 !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
  box-shadow: 0 25px 55px -10px rgba(0, 0, 0, 0.85), 0 0 20px rgba(56, 189, 248, 0.15) !important;
  color: #f8fafc !important;
}

[data-theme="dark"] .skills-modal-header,
[data-theme="dark"] .edu-modal-header,
[data-theme="dark"] .srv-modal-header,
[data-theme="dark"] .service-modal-header {
  border-bottom: 1px solid rgba(51, 65, 85, 0.8) !important;
}

[data-theme="dark"] .skills-modal-sub,
[data-theme="dark"] .service-modal-desc-box,
[data-theme="dark"] .service-modal-features-box,
[data-theme="dark"] .edu-modal-desc-box {
  background: rgba(15, 23, 42, 0.9) !important;
  border: 1px solid rgba(51, 65, 85, 0.8) !important;
  color: #cbd5e1 !important;
}

[data-theme="dark"] .service-modal-desc-box p,
[data-theme="dark"] .skills-modal-sub {
  color: #cbd5e1 !important;
  -webkit-text-fill-color: #cbd5e1 !important;
}

[data-theme="dark"] .skills-modal-scroll-hint {
  color: #94a3b8 !important;
}

[data-theme="dark"] .skills-modal-scroll-body::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6) !important;
}

[data-theme="dark"] .skills-modal-scroll-body::-webkit-scrollbar-thumb {
  background: #334155 !important;
}

[data-theme="dark"] .skills-modal-scroll-body::-webkit-scrollbar-thumb:hover {
  background: #475569 !important;
}

[data-theme="dark"] .srv-modal-features-list li {
  background: rgba(15, 23, 42, 0.85) !important;
  border: 1px solid rgba(51, 65, 85, 0.8) !important;
  color: #f1f5f9 !important;
  -webkit-text-fill-color: #f1f5f9 !important;
}

[data-theme="dark"] .srv-modal-features-list li .feat-check-icon {
  background: rgba(6, 78, 59, 0.5) !important;
  border-color: rgba(52, 211, 153, 0.4) !important;
  color: #34d399 !important;
}

[data-theme="dark"] .srv-modal-section-head h4,
[data-theme="dark"] .service-modal-title,
[data-theme="dark"] .edu-modal-title,
[data-theme="dark"] .edu-detail-row strong {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

[data-theme="dark"] .service-modal-pill,
[data-theme="dark"] .edu-modal-pill {
  background: rgba(30, 58, 138, 0.45) !important;
  border-color: rgba(96, 165, 250, 0.4) !important;
  color: #93c5fd !important;
}

[data-theme="dark"] .service-modal-footer {
  border-top: 1px dashed rgba(51, 65, 85, 0.8) !important;
}

[data-theme="dark"] .edu-detail-row label {
  color: #94a3b8 !important;
}

[data-theme="dark"] .edu-modal-campus,
[data-theme="dark"] .edu-modal-years {
  color: #94a3b8 !important;
  -webkit-text-fill-color: #94a3b8 !important;
}

/* Modals Skill Card Items */
[data-theme="dark"] .skills-modal-grid .skill-modern-card {
  background: rgba(15, 23, 42, 0.95) !important;
  border-color: rgba(51, 65, 85, 0.8) !important;
}

[data-theme="dark"] .skills-modal-grid .skill-name {
  color: #f8fafc !important;
  -webkit-text-fill-color: #f8fafc !important;
}

/* Generic Fallback for Muted/Gray Text Across Entire Dark Site */
[data-theme="dark"] .text-muted,
[data-theme="dark"] .text-secondary,
[data-theme="dark"] .text-slate-500,
[data-theme="dark"] .text-gray-500 {
  color: #94a3b8 !important;
  -webkit-text-fill-color: #94a3b8 !important;
}

/* Service & Award Inner Elements */
[data-theme="dark"] .srv-theme-indigo,
[data-theme="dark"] .srv-theme-teal,
[data-theme="dark"] .srv-theme-purple,
[data-theme="dark"] .srv-theme-sky,
[data-theme="dark"] .srv-theme-amber,
[data-theme="dark"] .award-theme-gold,
[data-theme="dark"] .award-theme-blue {
  background: linear-gradient(165deg, rgba(17, 24, 39, 0.95) 0%, rgba(11, 17, 33, 0.92) 100%) !important;
}

[data-theme="dark"] .service-feat-count-badge,
[data-theme="dark"] .award-category-pill,
[data-theme="dark"] .award-year-badge {
  background: rgba(15, 23, 42, 0.8) !important;
  border-color: rgba(51, 65, 85, 0.85) !important;
}

[data-theme="dark"] .award-year-badge {
  color: #facc15 !important;
}

[data-theme="dark"] .award-category-pill {
  color: #cbd5e1 !important;
}

[data-theme="dark"] .service-feat-count-badge {
  color: #38bdf8 !important;
}

[data-theme="dark"] .btn-srv-detail,
[data-theme="dark"] .btn-award-detail,
[data-theme="dark"] .btn-project-detail {
  background: rgba(15, 23, 42, 0.8) !important;
  border: 1px solid rgba(56, 189, 248, 0.4) !important;
  color: #38bdf8 !important;
}

[data-theme="dark"] .btn-srv-detail:hover,
[data-theme="dark"] .btn-award-detail:hover,
[data-theme="dark"] .btn-project-detail:hover {
  background: #0284c7 !important;
  color: #ffffff !important;
}

/* Mobile responsive toggle position */
@media (max-width: 1120px) {
  .btn-theme-toggle {
    grid-column: span 2;
    width: 100%;
    height: 38px;
    margin: 4px 0 0 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .btn-theme-toggle::before {
    content: 'Mode Tampilan (Gelap / Terang)';
    font-size: 0.8rem;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: -0.01em;
  }

  [data-theme="dark"] .btn-theme-toggle::before {
    content: 'Mode Tampilan (Mode Gelap Aktif)';
    color: #cbd5e1;
  }

  .btn-theme-toggle .theme-toggle-slider {
    width: auto;
    height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 2px;
  }

  .btn-theme-toggle .theme-icon-moon,
  .btn-theme-toggle .theme-icon-sun {
    position: static;
    transform: none !important;
    opacity: 1 !important;
    font-size: 0.95rem;
  }

  .btn-theme-toggle .theme-icon-sun {
    display: none;
  }

  .btn-theme-toggle .theme-icon-moon {
    display: inline-block;
  }

  [data-theme="dark"] .btn-theme-toggle .theme-icon-moon {
    display: none;
  }

  [data-theme="dark"] .btn-theme-toggle .theme-icon-sun {
    display: inline-block;
  }
}

.project-card:hover,
.service-card-modern:hover,
.award-card-modern:hover,
.skill-modern-card:hover,
.exp-career-card:hover,
.edu-step-card:hover,
.stat-counter-card:hover,
.process-step-card-compact:hover,
.about-bio-box:hover {
  transform: translateY(-5px);
}

.project-card::after,
.service-card-modern::after,
.award-card-modern::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-20deg);
  transition: none;
  pointer-events: none;
  z-index: 5;
}

.project-card:hover::after,
.service-card-modern:hover::after,
.award-card-modern:hover::after {
  left: 180%;
  transition: left 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Smooth Floating Subtle Animation for About Card Halo */
.avatar-halo-effect {
  animation: ambientFloatGlow 5s ease-in-out infinite alternate !important;
}

@keyframes ambientFloatGlow {
  0% {
    transform: scale(0.97) translateY(0);
    opacity: 0.6;
  }

  50% {
    transform: scale(1.03) translateY(-3px);
    opacity: 0.85;
  }

  100% {
    transform: scale(0.98) translateY(2px);
    opacity: 0.65;
  }
}

/* Vibrant Floating Badges & Ambient Breathing */
.live-pulse-dot,
.status-pulse-dot {
  animation: pulseGreenGlow 2.2s infinite ease-in-out;
}

@keyframes pulseGreenGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.65);
    transform: scale(0.95);
  }

  65% {
    box-shadow: 0 0 0 9px rgba(16, 185, 129, 0);
    transform: scale(1.08);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    transform: scale(0.95);
  }
}

/* Button Ripple & Pulse on Hover */
.btn-primary,
.btn-resume {
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, filter 0.2s ease;
}

.btn-primary:hover,
.btn-resume:hover {
  transform: translateY(-3px) scale(1.02);
}

.btn-primary:active,
.btn-resume:active {
  transform: translateY(-1px) scale(0.99);
}

.nav-logo:hover .logo-accent {
  transform: scale(1.15) rotate(-6deg);
}

/* ==============================================================
 * ULTRA-MODERN EXECUTIVE ARCHITECTURAL PRELOADER (CLEAN, SLEEK & HIGH-TECH)
 * ============================================================ */
.preloader-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: radial-gradient(ellipse 90% 80% at 50% 25%, #0f172a 0%, #090d1a 55%, #040711 100%);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 20px;
  box-sizing: border-box;
  transition:
    opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.preloader-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.03);
}

/* Subtle Architectural Grid Overlay */
.preloader-grid-mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(59, 130, 246, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(59, 130, 246, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, #000 25%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, #000 25%, transparent 80%);
  pointer-events: none;
}

/* Cohesive Sapphire & Cyan Ambient Lighting Beams (No Rainbow Clutter) */
.preloader-ambient-beam {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(75px);
}

.preloader-ambient-beam.beam-top {
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 560px;
  height: 300px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.32) 0%, rgba(56, 189, 248, 0.12) 55%, transparent 75%);
}

.preloader-ambient-beam.beam-bottom {
  bottom: -140px;
  left: 50%;
  transform: translateX(-50%);
  width: 520px;
  height: 280px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.25) 0%, transparent 72%);
}

.preloader-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 450px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Sleek Dark Frosted Bento Preloader Card */
.preloader-card-modern {
  position: relative;
  width: 100%;
  padding: 26px 28px 24px;
  border-radius: 24px;
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.9) 0%, rgba(9, 14, 28, 0.94) 100%);
  border: 1px solid rgba(96, 165, 250, 0.24);
  box-shadow:
    0 28px 60px -14px rgba(0, 0, 0, 0.85),
    0 0 36px -8px rgba(37, 99, 235, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
  gap: 22px;
  overflow: hidden;
  animation: preloadCardEntrance 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes preloadCardEntrance {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Animated Top Laser Sweep on Card Edge */
.preloader-card-laser {
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
}

.preloader-card-laser::after {
  content: '';
  position: absolute;
  top: 0;
  left: -45%;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #38bdf8, #6366f1, #38bdf8, transparent);
  animation: preloadLaserSweep 2.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes preloadLaserSweep {
  0% {
    left: -45%;
  }
  100% {
    left: 105%;
  }
}

/* Top Bar: System Status & Verified Pill */
.preloader-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.preloader-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.14);
  border: 1px solid rgba(96, 165, 250, 0.3);
  color: #e2e8f0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preloader-badge-tag .live-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.preloader-verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.28);
  color: #34d399;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* Center Stage: Orbital SVG Ring + Identity Block */
.preloader-core-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 4px 0;
}

.preloader-orbital-emblem {
  position: relative;
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-ring-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.preload-ring-track {
  fill: none;
  stroke: rgba(148, 163, 184, 0.14);
  stroke-width: 5;
}

.preload-ring-orbit {
  fill: none;
  stroke: rgba(56, 189, 248, 0.25);
  stroke-width: 1.5;
  stroke-dasharray: 5 5;
  transform-origin: 60px 60px;
  animation: preloadOrbitSpin 10s linear infinite;
}

@keyframes preloadOrbitSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.preload-ring-progress {
  fill: none;
  stroke: url(#preloadRingGrad);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 326.72;
  stroke-dashoffset: 326.72;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.55));
  transition: stroke-dashoffset 0.15s ease-out;
}

.preloader-core-icon {
  position: absolute;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
  border: 1px solid rgba(147, 197, 253, 0.45);
  box-shadow:
    0 8px 22px rgba(37, 99, 235, 0.45),
    inset 0 1px 1px rgba(255, 255, 255, 0.35);
  color: #ffffff;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: preloadCorePulse 2.4s ease-in-out infinite alternate;
}

@keyframes preloadCorePulse {
  0% {
    transform: scale(0.96);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4);
  }
  100% {
    transform: scale(1.04);
    box-shadow: 0 10px 28px rgba(56, 189, 248, 0.65);
  }
}

/* Identity Typography */
.preloader-identity-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
}

.preloader-greeting {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #38bdf8;
  text-transform: uppercase;
}

.preloader-owner-name {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 4vw, 1.4rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 0;
}

.preloader-owner-role {
  font-size: 0.82rem;
  font-weight: 500;
  color: #94a3b8;
  margin: 0;
}

/* Progress Bar & 4-Step Milestones */
.preloader-progress-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 14px 16px;
}

.preloader-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.status-msg {
  color: #cbd5e1;
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.status-msg i {
  color: #38bdf8;
}

.status-num {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.preloader-progress-track {
  position: relative;
  width: 100%;
  height: 7px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.preloader-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #2563eb 0%, #38bdf8 55%, #6366f1 100%);
  border-radius: 999px;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.65);
  transition: width 0.14s ease-out;
  overflow: hidden;
}

.progress-light-sweep {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  animation: sweepLight 1.2s linear infinite;
}

@keyframes sweepLight {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* 4-Step Pipeline Pills */
.preloader-step-pills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 2px;
}

.preload-step-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 5px 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #64748b;
  font-size: 0.66rem;
  font-weight: 700;
  transition: all 0.25s ease;
}

.preload-step-item.active {
  background: rgba(37, 99, 235, 0.2);
  border-color: rgba(96, 165, 250, 0.45);
  color: #f8fafc;
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.25);
}

.preload-step-item.active i {
  color: #38bdf8;
}

.preload-step-item.done {
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(52, 211, 153, 0.35);
  color: #a7f3d0;
}

.preload-step-item.done i {
  color: #34d399;
}

@media (max-width: 480px) {
  .preloader-card-modern {
    padding: 20px 18px 18px;
    gap: 18px;
    border-radius: 20px;
  }

  .preloader-orbital-emblem {
    width: 82px;
    height: 82px;
  }

  .preloader-core-icon {
    width: 46px;
    height: 46px;
    font-size: 1.05rem;
  }

  .preloader-step-pills {
    gap: 4px;
  }

  .preload-step-item {
    font-size: 0.6rem;
    padding: 4px 4px;
  }
}

/* ==========================================================================
   EDUCATION STEPPED PATHWAY STYLES (Minimalis, Padat, Modern & Berwarna)
   ========================================================================== */
.education-section {
  position: relative;
  background: transparent;
  padding: 60px 0;
}

.edu-stepper-pathway {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 20px;
  padding: 8px 0 12px 0;
  align-items: stretch;
}

/* Central Continuous Luminescent Spine (Horizontal Track on Desktop) */
.edu-pathway-spine {
  position: absolute;
  top: 28px;
  bottom: auto;
  left: 50px;
  right: 50px;
  width: auto;
  height: 2.5px;
  background: linear-gradient(90deg, #3b82f6 0%, #6366f1 50%, #14b8a6 90%, rgba(20, 184, 166, 0.15) 100%);
  border-radius: 999px;
  z-index: 1;
}

.edu-spine-glow {
  position: absolute;
  inset: -4px -1px;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.35), rgba(99, 102, 241, 0.35), rgba(20, 184, 166, 0.2));
  filter: blur(6px);
  border-radius: 999px;
  pointer-events: none;
}

/* Individual Stepped Level Item (Horizontal Column on Desktop) */
.edu-step-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  z-index: 2;
  transition: transform 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Node Indicator on Horizontal Spine */
.edu-step-node {
  position: relative;
  flex-shrink: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 0 8px 0 0;
  margin-left: 14px;
  background: var(--bg-main, #f8fafc);
  border-radius: 12px;
}

.edu-node-core {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.edu-node-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  opacity: 0.45;
  filter: blur(7px);
  z-index: 1;
  transition: all 0.3s ease;
}

.edu-node-step-tag {
  margin-top: 0;
  font-size: 0.64rem;
  font-weight: 800;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

/* The Stepped Content Card (Sleek, Compact & Equal Height Side-by-Side) */
.edu-step-card {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  padding: 15px 18px 13px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  transition: all 0.28s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.edu-card-top-rail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  transition: height 0.25s ease;
}

.edu-card-aurora {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  filter: blur(36px);
  opacity: 0.1;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

/* Card Header Flex (Compact) */
.edu-card-header-flex {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.edu-badges-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}

.edu-level-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.ribbon-dot {
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  box-shadow: 0 0 6px currentColor;
}

.latest-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  color: #ffffff;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.25);
}

.latest-tag i {
  font-size: 0.56rem;
}

.edu-title-main {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.25;
  margin-bottom: 3px;
  letter-spacing: -0.01em;
}

.edu-campus-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
}

.edu-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 7px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

/* Info Feature Pills (Compact) */
.edu-pills-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.edu-feature-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 9px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.edu-feature-pill .pill-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
}

.edu-feature-pill .pill-text {
  display: flex;
  flex-direction: column;
}

.edu-feature-pill .pill-text small {
  font-size: 0.56rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.8;
  font-weight: 700;
  line-height: 1.1;
}

.edu-feature-pill .pill-text strong {
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.2;
}

/* Card Footer Strip (Pinned to bottom so side-by-side cards align cleanly) */
.edu-card-footer-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 9px;
  margin-top: auto;
  font-size: 0.7rem;
}

.edu-footer-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-edu-detail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.22);
  color: #2563eb;
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-edu-detail i {
  font-size: 0.65rem;
  transition: transform 0.25s ease;
}

.btn-edu-detail:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  transform: translateY(-1px);
}

.btn-edu-detail:hover i {
  transform: translate(1px, -1px);
}

.edu-step-indigo .btn-edu-detail {
  background: rgba(79, 70, 229, 0.08);
  border-color: rgba(79, 70, 229, 0.22);
  color: #4f46e5;
}

.edu-step-indigo .btn-edu-detail:hover {
  background: #4f46e5;
  color: #ffffff;
  border-color: #4f46e5;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

/* ============================================================
   EDUCATION DETAIL MODAL (Compact, Modern & Mobile-Responsive)
============================================================ */
.edu-modal-card {
  max-width: 460px;
  width: 92%;
  max-height: 86vh;
  margin: auto;
  padding: 22px 22px 16px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 24px 50px -12px rgba(15, 23, 42, 0.35);
  position: relative;
  overflow: hidden;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 #f8fafc;
}

.edu-modal-card::-webkit-scrollbar {
  width: 6px;
}

.edu-modal-card::-webkit-scrollbar-track {
  background: #f8fafc;
  border-radius: 4px;
}

.edu-modal-card::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.edu-modal-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2563eb 0%, #06b6d4 50%, #6366f1 100%);
}

.edu-modal-close {
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  font-size: 0.92rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
}

.edu-modal-header {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding-right: 34px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}

.edu-modal-icon-box {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 6px 14px -3px rgba(37, 99, 235, 0.35);
  margin-top: 2px;
}

.edu-modal-title-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  flex: 1;
}

.edu-modal-pill {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2.5px 9px;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  margin-bottom: 5px;
  line-height: 1.3;
}

.edu-modal-title {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin: 0 0 3px 0;
}

.edu-modal-campus {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #2563eb;
}

.edu-modal-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.edu-modal-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.edu-modal-meta-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
  padding: 9px 11px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.edu-modal-meta-box.meta-full {
  grid-column: span 2;
}

.edu-modal-meta-box small {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 5px;
}

.edu-modal-meta-box small i {
  color: #2563eb;
  font-size: 0.65rem;
}

.edu-modal-meta-box strong {
  font-size: 0.8rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
}

.edu-modal-meta-box strong.grade-highlight {
  color: #059669;
}

.edu-modal-desc-card {
  background: linear-gradient(135deg, #f8fafc 0%, #f0f7ff 100%);
  border: 1px solid #dbeafe;
  border-radius: 12px;
  padding: 12px 14px;
}

.edu-modal-desc-head {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 6px;
}

.edu-modal-desc-head i {
  color: #2563eb;
  font-size: 0.82rem;
}

.edu-modal-desc-head h4 {
  font-size: 0.82rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.edu-modal-desc-card p {
  font-size: 0.8rem;
  line-height: 1.6;
  color: #334155;
  margin: 0;
}

.edu-modal-footer {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.edu-modal-verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #059669;
}

@media (max-width: 600px) {
  .edu-modal-card {
    width: 92%;
    max-width: 350px;
    padding: 16px 15px 13px;
    border-radius: 16px;
  }

  .edu-modal-close {
    top: 11px;
    right: 11px;
    width: 28px;
    height: 28px;
    font-size: 0.82rem;
  }

  .edu-modal-header {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    padding-right: 28px;
    padding-bottom: 11px;
    margin-bottom: 11px;
  }

  .edu-modal-icon-box {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 10px;
    font-size: 0.98rem;
  }

  .edu-modal-pill {
    font-size: 0.55rem;
    padding: 2px 7px;
    margin-bottom: 3px;
  }

  .edu-modal-title {
    font-size: 0.96rem;
  }

  .edu-modal-campus {
    font-size: 0.74rem;
  }

  .edu-modal-meta-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .edu-modal-meta-box {
    padding: 7px 9px;
    border-radius: 9px;
  }

  .edu-modal-meta-box small {
    font-size: 0.55rem;
  }

  .edu-modal-meta-box strong {
    font-size: 0.74rem;
  }

  .edu-modal-desc-card {
    padding: 10px 11px;
    border-radius: 10px;
  }

  .edu-modal-desc-head h4 {
    font-size: 0.76rem;
  }

  .edu-modal-desc-card p {
    font-size: 0.74rem;
    line-height: 1.52;
  }

  .edu-modal-footer {
    margin-top: 10px;
    padding-top: 8px;
  }

  .edu-modal-verified {
    font-size: 0.64rem;
  }
}

.edu-footer-verified {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #10b981;
  font-weight: 600;
}

.edu-footer-seq {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   THEME PALETTES (WARNA BERJENJANG)
   ========================================================================== */

/* Theme 1: Blue (Perguruan Tinggi / D3) */
.edu-step-blue .edu-node-core {
  background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
  color: #ffffff;
  border: 2px solid #bfdbfe;
}

.edu-step-blue .edu-node-pulse {
  background: #3b82f6;
}

.edu-step-blue .edu-node-step-tag {
  background: #dbeafe;
  color: #1e40af;
}

.edu-step-blue .edu-step-card {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.035) 0%, var(--bg-card) 55%);
}

.edu-step-blue .edu-card-top-rail {
  background: linear-gradient(90deg, #2563eb, #60a5fa, #38bdf8);
}

.edu-step-blue .edu-card-aurora {
  background: #3b82f6;
}

.edu-step-blue .edu-level-ribbon {
  background: rgba(37, 99, 235, 0.1);
  color: #1d4ed8;
  border: 1px solid rgba(37, 99, 235, 0.25);
}

.edu-step-blue .edu-date-badge {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.edu-step-blue .pill-study {
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.edu-step-blue .pill-study .pill-icon {
  background: #dbeafe;
  color: #1d4ed8;
}

.edu-step-blue .pill-study .pill-text strong {
  color: #1e40af;
}

.edu-step-blue .pill-grade {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.edu-step-blue .pill-grade .pill-icon {
  background: #d1fae5;
  color: #047857;
}

.edu-step-blue .pill-grade .pill-text strong {
  color: #047857;
}

.edu-step-blue:hover .edu-step-card {
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 10px 24px -6px rgba(37, 99, 235, 0.16);
}

/* Theme 2: Indigo / Violet (SMK / Menengah Kejuruan) */
.edu-step-indigo .edu-node-core {
  background: linear-gradient(135deg, #4338ca 0%, #6366f1 100%);
  color: #ffffff;
  border: 2px solid #c7d2fe;
}

.edu-step-indigo .edu-node-pulse {
  background: #6366f1;
}

.edu-step-indigo .edu-node-step-tag {
  background: #e0e7ff;
  color: #3730a3;
}

.edu-step-indigo .edu-step-card {
  background: linear-gradient(180deg, rgba(79, 70, 229, 0.035) 0%, var(--bg-card) 55%);
}

.edu-step-indigo .edu-card-top-rail {
  background: linear-gradient(90deg, #4f46e5, #818cf8, #a78bfa);
}

.edu-step-indigo .edu-card-aurora {
  background: #6366f1;
}

.edu-step-indigo .edu-level-ribbon {
  background: rgba(79, 70, 229, 0.1);
  color: #4338ca;
  border: 1px solid rgba(79, 70, 229, 0.25);
}

.edu-step-indigo .edu-date-badge {
  background: #eef2ff;
  color: #4338ca;
  border: 1px solid #c7d2fe;
}

.edu-step-indigo .pill-study {
  background: rgba(79, 70, 229, 0.06);
  border: 1px solid rgba(79, 70, 229, 0.2);
}

.edu-step-indigo .pill-study .pill-icon {
  background: #e0e7ff;
  color: #4338ca;
}

.edu-step-indigo .pill-study .pill-text strong {
  color: #3730a3;
}

.edu-step-indigo .pill-grade {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.edu-step-indigo .pill-grade .pill-icon {
  background: #d1fae5;
  color: #047857;
}

.edu-step-indigo .pill-grade .pill-text strong {
  color: #047857;
}

.edu-step-indigo:hover .edu-step-card {
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 10px 24px -6px rgba(79, 70, 229, 0.16);
}

/* Theme 3: Teal */
.edu-step-teal .edu-node-core {
  background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
  color: #ffffff;
  border: 2px solid #99f6e4;
}

.edu-step-teal .edu-node-pulse {
  background: #14b8a6;
}

.edu-step-teal .edu-node-step-tag {
  background: #ccfbf1;
  color: #115e59;
}

.edu-step-teal .edu-step-card {
  background: linear-gradient(180deg, rgba(13, 148, 136, 0.035) 0%, var(--bg-card) 55%);
}

.edu-step-teal .edu-card-top-rail {
  background: linear-gradient(90deg, #0d9488, #2dd4bf);
}

.edu-step-teal .edu-card-aurora {
  background: #14b8a6;
}

.edu-step-teal .edu-level-ribbon {
  background: rgba(13, 148, 136, 0.1);
  color: #0f766e;
  border: 1px solid rgba(13, 148, 136, 0.25);
}

.edu-step-teal .edu-date-badge {
  background: #f0fdfa;
  color: #0f766e;
  border: 1px solid #99f6e4;
}

.edu-step-teal .pill-study {
  background: rgba(13, 148, 136, 0.06);
  border: 1px solid rgba(13, 148, 136, 0.2);
}

.edu-step-teal .pill-study .pill-icon {
  background: #ccfbf1;
  color: #0f766e;
}

.edu-step-teal .pill-study .pill-text strong {
  color: #115e59;
}

.edu-step-teal:hover .edu-step-card {
  border-color: rgba(20, 184, 166, 0.5);
  box-shadow: 0 10px 24px -6px rgba(13, 148, 136, 0.16);
}

/* Hover Dynamics */
.edu-step-item:hover {
  transform: translateY(-4px);
}

.edu-step-item:hover .edu-node-core {
  transform: scale(1.06) rotate(4deg);
}

.edu-step-item:hover .edu-card-aurora {
  opacity: 0.22;
  transform: scale(1.2);
}

/* Responsive Stepper for Tablets & Phones */
@media (max-width: 900px) {
  .education-section {
    padding: 40px 0;
  }

  .edu-stepper-pathway {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    gap: 16px;
  }

  .edu-pathway-spine {
    left: 18px;
    right: auto;
    top: 20px;
    bottom: 20px;
    width: 3px;
    height: auto;
    background: linear-gradient(180deg, #3b82f6 0%, #6366f1 45%, #14b8a6 85%, rgba(20, 184, 166, 0.15) 100%);
  }

  .edu-step-item {
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
  }

  .edu-step-node {
    flex-direction: column;
    width: 38px;
    padding: 4px 0 0 0;
    margin-left: 0;
    background: transparent;
  }

  .edu-node-core {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
    border-radius: 10px;
  }

  .edu-node-pulse {
    width: 36px;
    height: 36px;
    top: 4px;
  }

  .edu-node-step-tag {
    display: none;
  }

  .edu-step-card {
    padding: 14px 14px;
    border-radius: 14px;
  }

  .edu-title-main {
    font-size: 1.05rem;
  }

  .edu-campus-name {
    font-size: 0.82rem;
  }

  .edu-date-badge {
    padding: 3px 8px;
    font-size: 0.72rem;
  }
}


/* ==========================================================================
   WORK PROCESS / METHODOLOGY (Animated Connected Pipeline Stepper)
   ========================================================================== */
.process-section {
  position: relative;
  background: transparent;
  padding: 60px 0;
}

.process-horizontal-stepper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 0 10px 0;
}

/* Desktop Horizontal Luminescent Pipeline Track */
.process-horizontal-track {
  position: absolute;
  top: 40px;
  left: 11%;
  right: 11%;
  height: 4px;
  background: #e2e8f0;
  border-radius: 999px;
  z-index: 1;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.08);
}

.process-track-progress {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.35) 0%, rgba(99, 102, 241, 0.35) 35%, rgba(168, 85, 247, 0.35) 70%, rgba(16, 185, 129, 0.35) 100%);
  border-radius: 999px;
}

/* Animated Glowing Energy Beam Flowing Across Horizontal Track */
.process-track-pulse-beam {
  position: absolute;
  top: 0;
  left: -35%;
  width: 35%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, #3b82f6 30%, #8b5cf6 65%, #10b981 90%, transparent 100%);
  border-radius: 999px;
  box-shadow: 0 0 14px rgba(99, 102, 241, 0.8);
  animation: processHorizontalFlow 3.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes processHorizontalFlow {
  0% {
    left: -35%;
  }
  100% {
    left: 105%;
  }
}

/* Mobile Vertical Spine Track (Hidden on Desktop) */
.process-vertical-spine {
  display: none;
}

/* Steps Row Flex Grid (4 Columns on Desktop) */
.process-steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
  z-index: 2;
  align-items: stretch;
}

.process-step-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Node Anchor on the Pipeline */
.process-node-anchor {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 3;
}

/* Animated Pulsing Aura Ring Around Node */
.process-node-ring {
  position: absolute;
  top: -5px;
  width: 58px;
  height: 58px;
  border-radius: 17px;
  border: 2px solid rgba(59, 130, 246, 0.4);
  opacity: 0;
  pointer-events: none;
  animation: processNodeRipple 3.2s ease-out infinite;
  animation-delay: calc(var(--step-idx, 0) * 0.75s);
}

@keyframes processNodeRipple {
  0% {
    transform: scale(0.82);
    opacity: 0.85;
  }
  70% {
    transform: scale(1.22);
    opacity: 0;
  }
  100% {
    transform: scale(1.25);
    opacity: 0;
  }
}

.process-node-core {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow:
    0 10px 22px -6px rgba(37, 99, 235, 0.35),
    0 0 0 4px #ffffff;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.process-step-badge {
  margin-top: 8px;
  font-size: 0.62rem;
  font-weight: 800;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2.5px 9px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
  position: relative;
  z-index: 3;
}

/* Connected Vertical Stem Between Node Badge and Card */
.process-node-stem {
  width: 2px;
  height: 14px;
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.45), rgba(99, 102, 241, 0.12));
  position: relative;
  overflow: hidden;
}

.process-node-stem::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent, #3b82f6, transparent);
  animation: stemDropPulse 2.4s linear infinite;
  animation-delay: calc(var(--step-idx, 0) * 0.6s);
}

@keyframes stemDropPulse {
  0% {
    top: -100%;
  }
  100% {
    top: 100%;
  }
}

/* Executive Bento Process Card */
.process-step-card-compact {
  width: 100%;
  flex: 1;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  padding: 16px 16px 13px;
  box-shadow:
    0 10px 26px -10px rgba(15, 23, 42, 0.06),
    0 4px 10px -4px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
  gap: 11px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.process-card-top-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3.5px;
  transition: height 0.25s ease;
}

.process-card-glow {
  position: absolute;
  top: -45px;
  right: -45px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  filter: blur(28px);
  opacity: 0.12;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Card Header: Step Number Pill + Domain & Title */
.process-card-head {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  position: relative;
  z-index: 1;
}

.process-big-num {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  font-weight: 800;
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.process-head-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.process-domain-label {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
}

.process-step-title {
  font-size: 0.94rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin: 0;
  letter-spacing: -0.01em;
}

/* Framed Description Box with Left Accent Bar */
.process-desc-box {
  position: relative;
  z-index: 1;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-left: 3px solid #cbd5e1;
  border-radius: 11px;
  padding: 10px 12px;
  flex: 1;
  display: flex;
  align-items: flex-start;
}

.process-step-text {
  font-size: 0.78rem;
  line-height: 1.52;
  color: #475569;
  margin: 0;
}

/* Card Footer Strip: Connection Status + Animated Chevrons */
.process-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 9px;
  border-top: 1px dashed #e2e8f0;
  position: relative;
  z-index: 1;
  margin-top: auto;
}

.process-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.66rem;
  font-weight: 700;
  color: #64748b;
}

.process-chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3b82f6;
  animation: chipDotBlink 1.8s ease-in-out infinite;
  animation-delay: calc(var(--step-idx, 0) * 0.45s);
}

@keyframes chipDotBlink {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.35);
  }
}

.process-flow-icon {
  font-size: 0.72rem;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  animation: chevronNudge 1.6s ease-in-out infinite;
}

@keyframes chevronNudge {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(3px);
  }
}

/* ==========================================================================
   THEME PALETTES (WARNA STEP PROCESS)
   ========================================================================== */

/* 1. Blue Step */
.proc-step-blue .process-node-core {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  color: #ffffff;
}
.proc-step-blue .process-node-ring {
  border-color: rgba(37, 99, 235, 0.45);
}
.proc-step-blue .process-step-badge {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}
.proc-step-blue .process-card-top-line {
  background: linear-gradient(90deg, #2563eb, #60a5fa);
}
.proc-step-blue .process-card-glow {
  background: #3b82f6;
}
.proc-step-blue .process-big-num {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}
.proc-step-blue .process-domain-label {
  color: #2563eb;
}
.proc-step-blue .process-desc-box {
  background: rgba(239, 246, 255, 0.45);
  border-color: rgba(191, 219, 254, 0.5);
  border-left-color: #3b82f6;
}
.proc-step-blue .process-chip-dot {
  background: #2563eb;
  box-shadow: 0 0 6px rgba(37, 99, 235, 0.5);
}
.proc-step-blue .process-flow-icon {
  color: #2563eb;
}
.proc-step-blue:hover .process-step-card-compact {
  border-color: #93c5fd;
  box-shadow: 0 14px 30px -8px rgba(37, 99, 235, 0.16);
}

/* 2. Indigo Step */
.proc-step-indigo .process-node-core {
  background: linear-gradient(135deg, #4338ca 0%, #6366f1 100%);
  color: #ffffff;
  box-shadow: 0 10px 22px -6px rgba(79, 70, 229, 0.35), 0 0 0 4px #ffffff;
}
.proc-step-indigo .process-node-ring {
  border-color: rgba(79, 70, 229, 0.45);
}
.proc-step-indigo .process-step-badge {
  background: #eef2ff;
  color: #4338ca;
  border: 1px solid #c7d2fe;
}
.proc-step-indigo .process-card-top-line {
  background: linear-gradient(90deg, #4f46e5, #818cf8);
}
.proc-step-indigo .process-card-glow {
  background: #6366f1;
}
.proc-step-indigo .process-big-num {
  background: #eef2ff;
  color: #4f46e5;
  border: 1px solid #c7d2fe;
}
.proc-step-indigo .process-domain-label {
  color: #4f46e5;
}
.proc-step-indigo .process-desc-box {
  background: rgba(238, 242, 255, 0.45);
  border-color: rgba(199, 210, 254, 0.5);
  border-left-color: #6366f1;
}
.proc-step-indigo .process-chip-dot {
  background: #4f46e5;
  box-shadow: 0 0 6px rgba(79, 70, 229, 0.5);
}
.proc-step-indigo .process-flow-icon {
  color: #4f46e5;
}
.proc-step-indigo:hover .process-step-card-compact {
  border-color: #a5b4fc;
  box-shadow: 0 14px 30px -8px rgba(79, 70, 229, 0.16);
}

/* 3. Purple Step */
.proc-step-purple .process-node-core {
  background: linear-gradient(135deg, #7e22ce 0%, #a855f7 100%);
  color: #ffffff;
  box-shadow: 0 10px 22px -6px rgba(147, 51, 234, 0.35), 0 0 0 4px #ffffff;
}
.proc-step-purple .process-node-ring {
  border-color: rgba(147, 51, 234, 0.45);
}
.proc-step-purple .process-step-badge {
  background: #faf5ff;
  color: #7e22ce;
  border: 1px solid #e9d5ff;
}
.proc-step-purple .process-card-top-line {
  background: linear-gradient(90deg, #9333ea, #c084fc);
}
.proc-step-purple .process-card-glow {
  background: #a855f7;
}
.proc-step-purple .process-big-num {
  background: #faf5ff;
  color: #9333ea;
  border: 1px solid #e9d5ff;
}
.proc-step-purple .process-domain-label {
  color: #9333ea;
}
.proc-step-purple .process-desc-box {
  background: rgba(250, 245, 255, 0.45);
  border-color: rgba(233, 213, 255, 0.5);
  border-left-color: #a855f7;
}
.proc-step-purple .process-chip-dot {
  background: #9333ea;
  box-shadow: 0 0 6px rgba(147, 51, 234, 0.5);
}
.proc-step-purple .process-flow-icon {
  color: #9333ea;
}
.proc-step-purple:hover .process-step-card-compact {
  border-color: #d8b4fe;
  box-shadow: 0 14px 30px -8px rgba(147, 51, 234, 0.16);
}

/* 4. Emerald Step */
.proc-step-emerald .process-node-core {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  box-shadow: 0 10px 22px -6px rgba(16, 185, 129, 0.35), 0 0 0 4px #ffffff;
}
.proc-step-emerald .process-node-ring {
  border-color: rgba(16, 185, 129, 0.45);
}
.proc-step-emerald .process-step-badge {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}
.proc-step-emerald .process-card-top-line {
  background: linear-gradient(90deg, #10b981, #34d399);
}
.proc-step-emerald .process-card-glow {
  background: #10b981;
}
.proc-step-emerald .process-big-num {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}
.proc-step-emerald .process-domain-label {
  color: #059669;
}
.proc-step-emerald .process-desc-box {
  background: rgba(236, 253, 245, 0.45);
  border-color: rgba(167, 243, 208, 0.5);
  border-left-color: #10b981;
}
.proc-step-emerald .process-chip-dot {
  background: #10b981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.5);
}
.proc-step-emerald .process-flow-icon {
  color: #059669;
  animation: none;
}
.proc-step-emerald:hover .process-step-card-compact {
  border-color: #6ee7b7;
  box-shadow: 0 14px 30px -8px rgba(16, 185, 129, 0.16);
}

/* Hover Dynamics */
.process-step-col:hover {
  transform: translateY(-4px);
}

.process-step-col:hover .process-node-core {
  transform: scale(1.07);
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE: CONNECTED TIMELINE PIPELINE
   ========================================================================== */
@media (max-width: 960px) {
  .process-section {
    padding: 40px 0;
  }

  .process-horizontal-stepper {
    padding: 8px 0;
  }

  /* Hide Horizontal Track on Tablet/Mobile */
  .process-horizontal-track {
    display: none;
  }

  /* Show Continuous Animated Vertical Spine on the Left */
  .process-vertical-spine {
    display: block;
    position: absolute;
    top: 26px;
    bottom: 36px;
    left: 23px;
    width: 3.5px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
    z-index: 1;
  }

  .process-spine-line {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.35) 0%, rgba(99, 102, 241, 0.35) 35%, rgba(168, 85, 247, 0.35) 70%, rgba(16, 185, 129, 0.35) 100%);
  }

  .process-spine-pulse-beam {
    position: absolute;
    left: 0;
    top: -35%;
    width: 100%;
    height: 35%;
    background: linear-gradient(180deg, transparent 0%, #3b82f6 30%, #8b5cf6 65%, #10b981 95%, transparent 100%);
    border-radius: 999px;
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.85);
    animation: processVerticalFlow 3.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  }

  @keyframes processVerticalFlow {
    0% {
      top: -35%;
    }
    100% {
      top: 105%;
    }
  }

  .process-steps-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Side-by-Side Timeline Row: [Node Left] -- [Stem] -- [Card Right] */
  .process-step-col {
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
  }

  .process-node-anchor {
    width: 48px;
    min-width: 48px;
    margin-top: 6px;
  }

  .process-node-core {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 1rem;
    box-shadow:
      0 6px 16px -4px rgba(37, 99, 235, 0.32),
      0 0 0 3px #f8fafc;
  }

  .process-node-ring {
    top: -4px;
    width: 50px;
    height: 50px;
    border-radius: 14px;
  }

  .process-step-badge {
    margin-top: 5px;
    font-size: 0.54rem;
    padding: 2px 6px;
    letter-spacing: 0.04em;
  }

  /* Horizontal Connector Stem from Node to Card */
  .process-node-stem {
    width: 14px;
    min-width: 14px;
    height: 2px;
    margin-top: 26px;
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.5), rgba(99, 102, 241, 0.15));
  }

  .process-node-stem::after {
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
    animation: stemHorizPulse 2s linear infinite;
    animation-delay: calc(var(--step-idx, 0) * 0.5s);
  }

  @keyframes stemHorizPulse {
    0% {
      left: -100%;
    }
    100% {
      left: 100%;
    }
  }

  .process-step-card-compact {
    min-height: auto;
    padding: 14px 14px 12px;
    border-radius: 16px;
    gap: 9px;
  }

  .process-big-num {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 9px;
    font-size: 0.84rem;
  }

  .process-step-title {
    font-size: 0.9rem;
  }

  .process-desc-box {
    padding: 8px 10px;
    border-radius: 9px;
  }

  .process-step-text {
    font-size: 0.76rem;
    line-height: 1.48;
  }

  .process-status-chip {
    font-size: 0.63rem;
  }
}

/* ==========================================================================
   CLEAN SMOOTH MONOCHROMATIC CANVAS & REALISTIC 60FPS SHOOTING STARS
   (No Dots / No Rainbow Clutter / Zero-Lag Hardware-Accelerated Canvas)
   ========================================================================== */

body {
  background-color: #f4f7fb;
  background-image: linear-gradient(180deg, #f8fafc 0%, #eef2f7 50%, #f8fafc 100%);
  background-attachment: scroll;
}

/* Uniform Smooth Section Canvas (Transparent so Fixed Background Canvas Shows Behind Cards) */
.section,
.about-section,
.education-section,
.skills-section,
.experience-section,
.projects-section,
.services-section,
.process-section,
.awards-section,
.contact-section {
  position: relative;
  overflow: hidden;
  padding: 76px 0;
  background: transparent !important;
  border-top: 1px solid rgba(203, 213, 225, 0.65);
  z-index: 2;
}

/* Subtle alternating clean tone between odd & even sections (semi-transparent behind content) */
.section:nth-of-type(even) {
  background: rgba(241, 245, 249, 0.38) !important;
}

/* Remove any dot patterns or heavy blurred pseudo-elements */
.section::before,
.section > .container::before,
.section > .about-container-wide::before {
  display: none !important;
  content: none !important;
}

/* Soft, Zero-Cost Radial Horizon Glow (No filter:blur so 0 GPU lag) */
.section::after {
  content: '';
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 820px;
  height: 380px;
  background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.06) 0%, rgba(59, 130, 246, 0.015) 45%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.section > .container,
.section > .about-container-wide {
  position: relative;
  z-index: 3;
}

/* Crisp Top Center Divider Line */
.section > .container::after,
.section > .about-container-wide::after {
  content: '';
  position: absolute;
  top: -76px;
  left: 50%;
  transform: translateX(-50%);
  width: min(480px, 78%);
  height: 1.5px;
  background: linear-gradient(90deg, transparent 0%, rgba(59, 130, 246, 0.5) 50%, transparent 100%);
  pointer-events: none;
  z-index: 4;
}

/* ==========================================================================
   REALISTIC 60FPS SHOOTING STAR CANVAS (STRICTLY BEHIND ALL CONTENT CARDS)
   ========================================================================== */
.shooting-stars-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  transform: translateZ(0);
}

/* Ensure Hero & Footer stay in front of the meteor canvas, while Navbar remains fixed on scroll */
.hero,
.footer {
  position: relative;
  z-index: 3;
}

.navbar {
  position: fixed !important;
  z-index: 1000 !important;
}

/* ==========================================================================
   CLEAN MONOCHROMATIC CARDS (Zero Backdrop-Filter Lag, Ultra-Smooth Scroll)
   ========================================================================== */
.about-bio-box,
.stat-counter-card,
.edu-step-card,
.skill-group-header,
.skill-group-header.soft-header,
.skill-modern-card,
.exp-career-card,
.project-card,
.proj-theme-indigo.project-card,
.proj-theme-teal.project-card,
.proj-theme-purple.project-card,
.service-card-modern,
.process-step-card-compact,
.award-card-modern,
.contact-modern-wrapper,
.contact-form-box {
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid rgba(203, 213, 225, 0.88);
  box-shadow:
    0 10px 24px -8px rgba(15, 23, 42, 0.06),
    0 2px 6px -1px rgba(15, 23, 42, 0.03),
    inset 0 1px 0 #ffffff;
}

.about-bio-box:hover,
.stat-counter-card:hover,
.edu-step-card:hover,
.skill-modern-card:hover,
.exp-career-card:hover,
.project-card:hover,
.service-card-modern:hover,
.process-step-card-compact:hover,
.award-card-modern:hover {
  border-color: rgba(59, 130, 246, 0.55);
  box-shadow:
    0 16px 32px -10px rgba(37, 99, 235, 0.12),
    0 4px 10px -2px rgba(15, 23, 42, 0.04),
    inset 0 1px 0 #ffffff;
}

/* Clean Neutral Inner Sub-Boxes */
.bio-body-wrap,
.project-body,
.service-desc-box,
.process-desc-box,
.award-desc-box,
.contact-row {
  background: #f1f5f9;
  border-color: rgba(203, 213, 225, 0.8);
}

.edu-step-node,
.exp-row-node {
  background: #ffffff;
  backdrop-filter: none;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.section-tag {
  background: #ffffff;
  backdrop-filter: none;
  border: 1px solid rgba(147, 197, 253, 0.85);
  box-shadow: 0 6px 16px -4px rgba(37, 99, 235, 0.1);
}

/* ==========================================================================
   FINAL OVERRIDE: COMPREHENSIVE DARK MODE HI-CONTRAST & CRISP READABILITY
   (Placed at the absolute end of stylesheet so NO rule can override it)
   ========================================================================== */

/* 1. Modals Popups (Service Modal & Education Modal) */
[data-theme="dark"] #serviceModal .modal-content,
[data-theme="dark"] #eduModal .modal-content,
[data-theme="dark"] #skillsModal .modal-content,
[data-theme="dark"] .service-modal-content,
[data-theme="dark"] .edu-modal-card,
[data-theme="dark"] .skills-modal-card {
  background: #090e1a !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.95), 0 0 30px rgba(56, 189, 248, 0.15) !important;
  color: #f8fafc !important;
}

[data-theme="dark"] .edu-modal-close,
[data-theme="dark"] .modal-close {
  background: #1e293b !important;
  border: 1px solid rgba(71, 85, 105, 0.8) !important;
  color: #f1f5f9 !important;
}

[data-theme="dark"] .edu-modal-close:hover,
[data-theme="dark"] .modal-close:hover {
  background: #334155 !important;
  color: #ffffff !important;
}

[data-theme="dark"] .service-modal-header,
[data-theme="dark"] .edu-modal-header,
[data-theme="dark"] .skills-modal-header {
  border-bottom: 1px solid rgba(51, 65, 85, 0.8) !important;
}

[data-theme="dark"] .service-modal-title,
[data-theme="dark"] .edu-modal-title,
[data-theme="dark"] .srv-modal-section-head h4,
[data-theme="dark"] .edu-modal-desc-head h4 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

[data-theme="dark"] .service-modal-desc-box,
[data-theme="dark"] .service-modal-features-box,
[data-theme="dark"] .edu-modal-desc-card,
[data-theme="dark"] .edu-modal-meta-box,
[data-theme="dark"] .skills-modal-sub {
  background: rgba(15, 23, 42, 0.88) !important;
  border: 1px solid rgba(51, 65, 85, 0.85) !important;
  color: #e2e8f0 !important;
}

[data-theme="dark"] .service-modal-desc-box p,
[data-theme="dark"] .edu-modal-desc-card p,
[data-theme="dark"] #srvModalDesc,
[data-theme="dark"] #eduModalDesc {
  color: #e2e8f0 !important;
  -webkit-text-fill-color: #e2e8f0 !important;
}

[data-theme="dark"] .srv-modal-features-list li {
  background: rgba(30, 41, 59, 0.85) !important;
  border: 1px solid rgba(71, 85, 105, 0.8) !important;
  color: #f8fafc !important;
  -webkit-text-fill-color: #f8fafc !important;
}

[data-theme="dark"] .srv-modal-features-list li span {
  color: #f8fafc !important;
  -webkit-text-fill-color: #f8fafc !important;
  font-weight: 500 !important;
}

[data-theme="dark"] .srv-modal-features-list li .feat-check-icon {
  background: rgba(6, 78, 59, 0.7) !important;
  border: 1px solid rgba(52, 211, 153, 0.6) !important;
  color: #34d399 !important;
}

[data-theme="dark"] .edu-modal-meta-box small {
  color: #94a3b8 !important;
  -webkit-text-fill-color: #94a3b8 !important;
}

[data-theme="dark"] .edu-modal-meta-box strong {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

[data-theme="dark"] .edu-modal-meta-box strong.grade-highlight {
  color: #34d399 !important;
  -webkit-text-fill-color: #34d399 !important;
}

[data-theme="dark"] .edu-modal-campus,
[data-theme="dark"] .edu-modal-years {
  color: #94a3b8 !important;
  -webkit-text-fill-color: #94a3b8 !important;
}

[data-theme="dark"] .service-modal-pill,
[data-theme="dark"] .edu-modal-pill {
  background: rgba(30, 58, 138, 0.45) !important;
  border: 1px solid rgba(96, 165, 250, 0.5) !important;
  color: #93c5fd !important;
  -webkit-text-fill-color: #93c5fd !important;
}

[data-theme="dark"] .edu-modal-footer,
[data-theme="dark"] .service-modal-footer {
  border-top: 1px solid rgba(51, 65, 85, 0.75) !important;
}

/* 2. Education Card Feature Pills (Program / Konsentrasi & IPK) */
[data-theme="dark"] .edu-feature-pill {
  background: rgba(15, 23, 42, 0.9) !important;
  border: 1px solid rgba(51, 65, 85, 0.85) !important;
}

[data-theme="dark"] .edu-feature-pill .pill-text small {
  color: #94a3b8 !important;
  -webkit-text-fill-color: #94a3b8 !important;
  opacity: 1 !important;
}

[data-theme="dark"] .edu-feature-pill .pill-text strong {
  color: #f8fafc !important;
  -webkit-text-fill-color: #f8fafc !important;
}

[data-theme="dark"] .edu-feature-pill .pill-icon {
  background: rgba(30, 41, 59, 0.9) !important;
  color: #38bdf8 !important;
}

[data-theme="dark"] .edu-step-blue .pill-study .pill-text strong,
[data-theme="dark"] .edu-step-indigo .pill-study .pill-text strong,
[data-theme="dark"] .edu-step-teal .pill-study .pill-text strong {
  color: #60a5fa !important;
  -webkit-text-fill-color: #60a5fa !important;
}

[data-theme="dark"] .edu-step-blue .pill-grade .pill-text strong,
[data-theme="dark"] .edu-step-indigo .pill-grade .pill-text strong,
[data-theme="dark"] .edu-step-teal .pill-grade .pill-text strong {
  color: #34d399 !important;
  -webkit-text-fill-color: #34d399 !important;
}

[data-theme="dark"] .edu-card-footer-strip {
  border-top-color: rgba(51, 65, 85, 0.8) !important;
}

/* 3. Experience Cards (Jejak Karir) */
[data-theme="dark"] .exp-career-card {
  background: linear-gradient(165deg, rgba(17, 24, 39, 0.95) 0%, rgba(11, 17, 33, 0.92) 100%) !important;
  border: 1px solid rgba(51, 65, 85, 0.8) !important;
}

[data-theme="dark"] .exp-role-title {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

[data-theme="dark"] .exp-company-sub {
  color: #60a5fa !important;
  -webkit-text-fill-color: #60a5fa !important;
}

[data-theme="dark"] .exp-type-pill {
  background: rgba(30, 41, 59, 0.85) !important;
  border: 1px solid rgba(71, 85, 105, 0.85) !important;
  color: #cbd5e1 !important;
  -webkit-text-fill-color: #cbd5e1 !important;
}

[data-theme="dark"] .exp-meta-compact {
  border-top-color: rgba(51, 65, 85, 0.8) !important;
}

[data-theme="dark"] .exp-meta-compact .meta-tag,
[data-theme="dark"] .exp-meta-compact .date-tag,
[data-theme="dark"] .exp-meta-compact .loc-tag {
  background: rgba(15, 23, 42, 0.9) !important;
  border: 1px solid rgba(51, 65, 85, 0.85) !important;
  color: #94a3b8 !important;
  -webkit-text-fill-color: #94a3b8 !important;
}

[data-theme="dark"] .exp-meta-compact .date-tag i,
[data-theme="dark"] .exp-meta-compact .loc-tag i {
  color: #38bdf8 !important;
}

[data-theme="dark"] .exp-narrative-box {
  background: rgba(15, 23, 42, 0.8) !important;
  border: 1px solid rgba(51, 65, 85, 0.75) !important;
}

[data-theme="dark"] .exp-narrative-box p {
  color: #cbd5e1 !important;
  -webkit-text-fill-color: #cbd5e1 !important;
}

[data-theme="dark"] .exp-tag {
  background: rgba(15, 23, 42, 0.8) !important;
  border-color: rgba(51, 65, 85, 0.8) !important;
  color: #cbd5e1 !important;
  -webkit-text-fill-color: #cbd5e1 !important;
}

/* 4. Contact Detail Cards (About Section - Lokasi, Email, WA) */
[data-theme="dark"] .detail-card-3d.detail-loc,
[data-theme="dark"] .detail-card-3d.detail-mail,
[data-theme="dark"] .detail-card-3d.detail-wa {
  background: rgba(15, 23, 42, 0.9) !important;
  border: 1.5px solid rgba(51, 65, 85, 0.85) !important;
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.6) !important;
}

[data-theme="dark"] .detail-card-3d.detail-loc:hover {
  border-color: #38bdf8 !important;
  box-shadow: 0 12px 28px -4px rgba(2, 132, 199, 0.3) !important;
}

[data-theme="dark"] .detail-card-3d.detail-mail:hover {
  border-color: #c084fc !important;
  box-shadow: 0 12px 28px -4px rgba(147, 51, 234, 0.3) !important;
}

[data-theme="dark"] .detail-card-3d.detail-wa:hover {
  border-color: #4ade80 !important;
  box-shadow: 0 12px 28px -4px rgba(22, 163, 74, 0.3) !important;
}

[data-theme="dark"] .detail-info small {
  color: #94a3b8 !important;
  -webkit-text-fill-color: #94a3b8 !important;
  letter-spacing: 0.06em !important;
}

[data-theme="dark"] .detail-info strong {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

[data-theme="dark"] .detail-card-3d.detail-loc .detail-info strong {
  color: #f0f9ff !important;
  -webkit-text-fill-color: #f0f9ff !important;
}

[data-theme="dark"] .detail-card-3d .icon-3d-box {
  background: rgba(30, 41, 59, 0.95) !important;
  border: 1px solid rgba(71, 85, 105, 0.75) !important;
}

[data-theme="dark"] .detail-card-3d.detail-loc .icon-3d-box {
  color: #38bdf8 !important;
}

[data-theme="dark"] .detail-card-3d.detail-mail .icon-3d-box {
  color: #c084fc !important;
}

[data-theme="dark"] .detail-card-3d.detail-wa .icon-3d-box {
  color: #4ade80 !important;
}

/* 5. Stat Counter Cards */
[data-theme="dark"] .stat-counter-card {
  background: linear-gradient(165deg, rgba(17, 24, 39, 0.95) 0%, rgba(11, 17, 33, 0.92) 100%) !important;
  border: 1px solid rgba(51, 65, 85, 0.8) !important;
}

[data-theme="dark"] .stat-label {
  color: #94a3b8 !important;
  -webkit-text-fill-color: #94a3b8 !important;
}

[data-theme="dark"] .stat-subtext {
  color: #cbd5e1 !important;
  -webkit-text-fill-color: #cbd5e1 !important;
}

[data-theme="dark"] .stat-number {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* 6. Universal Clean Contrast for Dark Mode Text */
[data-theme="dark"] .text-muted,
[data-theme="dark"] .text-sub,
[data-theme="dark"] small:not(.badge) {
  color: #94a3b8 !important;
  -webkit-text-fill-color: #94a3b8 !important;
}

/* ==========================================================================
   7. CONTACT SECTION ROWS & TRUST BOX (DARK MODE FIX)
   ========================================================================== */
[data-theme="dark"] .contact-row,
[data-theme="dark"] .contact-row.row-email,
[data-theme="dark"] .contact-row.row-wa,
[data-theme="dark"] .contact-row.row-location {
  background: rgba(15, 23, 42, 0.92) !important;
  border: 1px solid rgba(51, 65, 85, 0.85) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
}

[data-theme="dark"] .contact-row:hover {
  background: rgba(30, 41, 59, 0.95) !important;
  border-color: rgba(96, 165, 250, 0.6) !important;
}

[data-theme="dark"] .contact-row-content small {
  color: #94a3b8 !important;
  -webkit-text-fill-color: #94a3b8 !important;
}

[data-theme="dark"] .contact-row-content span {
  color: #f8fafc !important;
  -webkit-text-fill-color: #f8fafc !important;
  font-weight: 700 !important;
}

[data-theme="dark"] .contact-row-arrow {
  color: #64748b !important;
}

[data-theme="dark"] .contact-row:hover .contact-row-arrow {
  color: #38bdf8 !important;
}

[data-theme="dark"] .contact-trust-box {
  background: rgba(6, 78, 59, 0.25) !important;
  border: 1px solid rgba(52, 211, 153, 0.35) !important;
}

[data-theme="dark"] .contact-trust-box i {
  color: #34d399 !important;
}

[data-theme="dark"] .contact-trust-box strong {
  color: #34d399 !important;
  -webkit-text-fill-color: #34d399 !important;
}

[data-theme="dark"] .contact-trust-box span {
  color: #cbd5e1 !important;
  -webkit-text-fill-color: #cbd5e1 !important;
}

/* ==========================================================================
   8. SERVICE CARD INLINE BUTTON & FEATURE ITEMS (DARK MODE FIX)
   ========================================================================== */
[data-theme="dark"] .btn-service-detail {
  background: rgba(15, 23, 42, 0.9) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  color: #f1f5f9 !important;
  -webkit-text-fill-color: #f1f5f9 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .btn-service-detail span {
  color: #f1f5f9 !important;
  -webkit-text-fill-color: #f1f5f9 !important;
  font-weight: 700 !important;
}

[data-theme="dark"] .btn-service-detail .btn-arrow-circle {
  background: rgba(30, 41, 59, 0.95) !important;
  color: #38bdf8 !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
}

[data-theme="dark"] .btn-service-detail:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
  border-color: #38bdf8 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: 0 6px 18px -2px rgba(37, 99, 235, 0.4) !important;
}

[data-theme="dark"] .btn-service-detail:hover span {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

[data-theme="dark"] .btn-service-detail:hover .btn-arrow-circle {
  background: #ffffff !important;
  color: #1d4ed8 !important;
}

[data-theme="dark"] .service-preview-item {
  color: #cbd5e1 !important;
  -webkit-text-fill-color: #cbd5e1 !important;
}

[data-theme="dark"] .service-preview-item span {
  color: #cbd5e1 !important;
  -webkit-text-fill-color: #cbd5e1 !important;
}

[data-theme="dark"] .service-preview-item i {
  color: #34d399 !important;
}

[data-theme="dark"] .service-feature-item {
  background: transparent !important;
  border: none !important;
  color: #cbd5e1 !important;
  -webkit-text-fill-color: #cbd5e1 !important;
}

[data-theme="dark"] .service-feature-item span {
  color: #cbd5e1 !important;
  -webkit-text-fill-color: #cbd5e1 !important;
}

[data-theme="dark"] .service-feature-item i {
  color: #34d399 !important;
}

/* ==========================================================================
   PROJECT DETAIL MODAL (POP-UP KARYA PROYEK)
   ========================================================================== */
.project-modal-content {
  max-width: 520px;
  width: 92%;
  max-height: 86vh;
  margin: auto;
  padding: 20px 20px 16px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 24px 55px -12px rgba(15, 23, 42, 0.35);
  border: 1px solid #e2e8f0;
  position: relative;
  overflow-y: auto;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 #f8fafc;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.project-modal-content::-webkit-scrollbar {
  width: 6px;
}

.project-modal-content::-webkit-scrollbar-track {
  background: #f8fafc;
  border-radius: 4px;
}

.project-modal-content::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.modal-overlay.active .project-modal-content {
  transform: translateY(0);
}

.project-modal-header {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  padding-right: 36px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 12px;
}

.project-modal-logo-wrap {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
  margin-top: 2px;
  flex-shrink: 0;
}

.project-modal-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.project-modal-logo-icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: #2563eb;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-radius: 8px;
}

.project-modal-title-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.project-modal-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}

.project-modal-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.54rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  line-height: 1.2;
  white-space: nowrap;
}

.project-modal-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.54rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #059669;
  line-height: 1.2;
  white-space: nowrap;
}

.project-modal-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin: 1px 0 0;
  word-break: break-word;
}

.project-modal-client {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
  line-height: 1.25;
}

.project-modal-client i {
  color: #2563eb;
  font-size: 0.72rem;
  flex-shrink: 0;
}

.project-modal-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}

.project-modal-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.proj-meta-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
  padding: 9px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.proj-meta-box small {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 5px;
}

.proj-meta-box small i {
  color: #2563eb;
  font-size: 0.65rem;
}

.proj-meta-box strong {
  font-size: 0.82rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
}

.project-modal-desc-card,
.project-modal-tech-box {
  background: linear-gradient(135deg, #f8fafc 0%, #f0f7ff 100%);
  border: 1px solid #dbeafe;
  border-radius: 12px;
  padding: 11px 13px;
}

.proj-modal-section-head {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 6px;
}

.proj-modal-section-head i {
  font-size: 0.78rem;
  color: #2563eb;
}

.proj-modal-section-head h4 {
  font-size: 0.78rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.01em;
}

.project-modal-desc-card p {
  font-size: 0.78rem;
  line-height: 1.6;
  color: #334155;
  margin: 0;
  white-space: pre-line;
}

.project-modal-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.project-modal-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #1e293b;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.02);
}

.project-modal-footer {
  border-top: 1px dashed #e2e8f0;
  padding-top: 12px;
}

.project-modal-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-proj-modal-action {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-proj-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px -2px rgba(37, 99, 235, 0.35);
}

.btn-proj-primary:hover {
  background: #1e40af;
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-proj-secondary {
  background: #f8fafc;
  color: #1e293b;
  border: 1px solid #cbd5e1;
}

.btn-proj-secondary:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8;
}

/* Dark Mode Overrides for Project Modal */
[data-theme="dark"] #projectModal .project-modal-content {
  background: #090e1a !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.95), 0 0 30px rgba(56, 189, 248, 0.15) !important;
  color: #f8fafc !important;
}

[data-theme="dark"] .project-modal-header {
  border-bottom: 1px solid rgba(51, 65, 85, 0.8) !important;
}

[data-theme="dark"] .project-modal-logo-wrap {
  background: rgba(15, 23, 42, 0.9) !important;
  border-color: rgba(51, 65, 85, 0.8) !important;
}

[data-theme="dark"] .project-modal-title,
[data-theme="dark"] .proj-modal-section-head h4,
[data-theme="dark"] .proj-meta-box strong {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

[data-theme="dark"] .project-modal-client {
  color: #94a3b8 !important;
}

[data-theme="dark"] .project-modal-desc-card,
[data-theme="dark"] .project-modal-tech-box,
[data-theme="dark"] .proj-meta-box {
  background: rgba(15, 23, 42, 0.88) !important;
  border: 1px solid rgba(51, 65, 85, 0.85) !important;
  color: #e2e8f0 !important;
}

[data-theme="dark"] .project-modal-desc-card p,
[data-theme="dark"] #projModalDesc {
  color: #e2e8f0 !important;
  -webkit-text-fill-color: #e2e8f0 !important;
}

[data-theme="dark"] .project-modal-tag {
  background: rgba(30, 41, 59, 0.85) !important;
  border: 1px solid rgba(71, 85, 105, 0.8) !important;
  color: #f8fafc !important;
  -webkit-text-fill-color: #f8fafc !important;
}

[data-theme="dark"] .project-modal-footer {
  border-top-color: rgba(51, 65, 85, 0.75) !important;
}

[data-theme="dark"] .btn-proj-secondary {
  background: rgba(15, 23, 42, 0.9) !important;
  border-color: rgba(51, 65, 85, 0.8) !important;
  color: #e2e8f0 !important;
}

/* ==========================================================================
   MEDIA GALLERY SECTION (CLEAN NON-OVERLAPPING HORIZONTAL CAROUSEL)
   ========================================================================== */
.gallery-section {
  position: relative;
  overflow: hidden;
  padding: 60px 0 70px;
  background: transparent;
  width: 100%;
}

[data-theme="dark"] .gallery-section {
  background: transparent;
}

.gallery-outer-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.gallery-outer-container .section-header {
  max-width: 800px;
  margin: 0 auto 25px;
  text-align: center;
}

/* Modern Ultra-Clean Segmented Filter Tabs */
.gallery-filter-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ffffff;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  margin-top: 16px;
  box-shadow: 0 4px 14px -3px rgba(15, 23, 42, 0.08);
}

[data-theme="dark"] .gallery-filter-tabs {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(51, 65, 85, 0.7);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.gallery-tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 20px;
  border-radius: 999px;
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.25, 1);
}

[data-theme="dark"] .gallery-tab-btn {
  color: #94a3b8;
}

.gallery-tab-btn i {
  font-size: 0.85rem;
  display: inline-block;
  line-height: 1;
}

.gallery-tab-btn span {
  display: inline-block;
  line-height: 1;
}

.gallery-tab-btn:hover {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.06);
}

[data-theme="dark"] .gallery-tab-btn:hover {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
}

.gallery-tab-btn.active {
  background: #2563eb;
  color: #ffffff !important;
  box-shadow: 0 4px 12px -2px rgba(37, 99, 235, 0.45);
}

.gallery-tab-btn.active:hover {
  background: #1d4ed8;
}

.gallery-coverflow-wrapper {
  position: relative;
  width: 100%;
  margin: 0 auto;
  user-select: none;
  -webkit-user-select: none;
  padding: 15px 0 10px;
}

.gallery-coverflow-stage {
  position: relative;
  width: 100%;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  touch-action: pan-y;
}

.gallery-coverflow-stage.is-dragging {
  cursor: grabbing !important;
}

/* Individual Card (Modern Proportional Aspect Ratio: 4:3 / 16:11, Tidak Lonjong) */
.coverflow-card {
  position: absolute;
  width: 320px;
  height: 240px;
  border-radius: 20px;
  transition: transform 0.45s cubic-bezier(0.2, 0.85, 0.3, 1), 
              opacity 0.4s ease, 
              box-shadow 0.4s ease;
  will-change: transform, opacity;
  cursor: pointer;
}

.coverflow-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

[data-theme="dark"] .coverflow-card-inner {
  background: #090e1a;
  box-shadow: 0 10px 28px -4px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.coverflow-card.active-center .coverflow-card-inner {
  box-shadow: 0 14px 34px -6px rgba(37, 99, 235, 0.28), 
              0 0 0 2.5px rgba(37, 99, 235, 0.7),
              0 4px 12px -2px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .coverflow-card.active-center .coverflow-card-inner {
  box-shadow: 0 16px 38px -6px rgba(0, 0, 0, 0.85), 
              0 0 0 2.5px rgba(56, 189, 248, 0.75),
              0 0 25px -4px rgba(56, 189, 248, 0.35);
}

.coverflow-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.coverflow-card:hover .coverflow-media {
  transform: scale(1.04);
}

/* Video badge and play button */
.coverflow-video-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.14);
  pointer-events: none;
  transition: background 0.3s ease;
}

.coverflow-play-ring {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #0b1120;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  padding-left: 3px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22), 0 0 0 4px rgba(255, 255, 255, 0.35);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, color 0.3s ease;
}

.coverflow-card:hover .coverflow-play-ring {
  transform: scale(1.1);
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.5), 0 0 0 6px rgba(37, 99, 235, 0.25);
}

/* Card Bottom Overlay - Clean minimal pill + title */
.coverflow-card-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 14px 12px;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.65) 45%, rgba(15, 23, 42, 0.94) 100%);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.coverflow-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(37, 99, 235, 0.92);
  color: #ffffff;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  border-radius: 999px;
  width: fit-content;
  backdrop-filter: blur(6px);
}

.coverflow-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}
  flex-direction: column;
  gap: 5px;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.coverflow-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(37, 99, 235, 0.92);
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 999px;
  width: fit-content;
  backdrop-filter: blur(6px);
}

.coverflow-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

/* Bottom Navigation Control Center (Arrows + Dots) - Zero interference with cards */
.gallery-nav-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 28px;
  position: relative;
  z-index: 20;
}

.gallery-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid rgba(226, 232, 240, 0.95);
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 4px 14px -2px rgba(15, 23, 42, 0.1);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.25, 1);
}

[data-theme="dark"] .gallery-nav-btn {
  background: rgba(30, 41, 59, 0.95);
  border-color: rgba(255, 255, 255, 0.14);
  color: #f8fafc;
  box-shadow: 0 4px 14px -2px rgba(0, 0, 0, 0.4);
}

.gallery-nav-btn:hover {
  background: #2563eb !important;
  color: #ffffff !important;
  border-color: #2563eb !important;
  transform: scale(1.08);
  box-shadow: 0 8px 20px -3px rgba(37, 99, 235, 0.45);
}

.gallery-nav-btn:active {
  transform: scale(0.94);
}

/* Dots Indicator */
.coverflow-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0;
}

.coverflow-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #cbd5e1;
  cursor: pointer;
  transition: all 0.3s ease;
}

[data-theme="dark"] .coverflow-dot {
  background: rgba(255, 255, 255, 0.25);
}

.coverflow-dot.active {
  width: 24px;
  background: #2563eb;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
}

/* Responsive Mobile */
@media (max-width: 768px) {
  .gallery-section {
    padding: 40px 0 50px;
  }
  .gallery-outer-container {
    padding: 0 12px;
  }
  .gallery-outer-container .section-header {
    margin-bottom: 18px;
  }
  .gallery-coverflow-wrapper {
    margin-top: 5px;
    padding: 5px 0;
  }
  .gallery-coverflow-stage {
    height: 240px;
  }
  .coverflow-card {
    width: 260px;
    height: 195px;
    border-radius: 16px;
  }
  .coverflow-card-inner {
    border-radius: 16px;
  }
  .coverflow-play-ring {
    width: 42px;
    height: 42px;
    font-size: 0.95rem;
  }
  .gallery-nav-btn {
    width: 38px;
    height: 38px;
    font-size: 0.85rem;
  }
  .gallery-nav-controls {
    gap: 12px;
    margin-top: 18px;
  }
}

/* ==========================================================================
   GALLERY LIGHTBOX MODAL (MODERN CINEMATIC THEATER)
   ========================================================================== */
.gallery-lightbox-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.85) !important;
  backdrop-filter: blur(16px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(140%) !important;
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.gallery-lightbox-overlay.active {
  display: flex !important;
}

.gallery-modal-content {
  max-width: 720px;
  width: 100%;
  padding: 0;
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  color: #0f172a;
  position: relative;
  display: flex;
  flex-direction: column;
  animation: modalCinemaEnter 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

[data-theme="dark"] .gallery-modal-content {
  background: #0f172a;
  border: 1px solid rgba(56, 189, 248, 0.2);
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.7);
  color: #ffffff;
}

@keyframes modalCinemaEnter {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(16px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Header Bar */
.gallery-modal-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  position: relative;
  z-index: 30;
}

[data-theme="dark"] .gallery-modal-top-bar {
  background: #0f172a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gallery-modal-top-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gallery-modal-cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #2563eb;
  letter-spacing: 0.06em;
  background: #eff6ff;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid #dbeafe;
}

[data-theme="dark"] .gallery-modal-cat {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.3);
}

.lightbox-counter-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}

[data-theme="dark"] .lightbox-counter-badge {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
}

.gallery-modal-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gallery-modal-tool-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

[data-theme="dark"] .gallery-modal-tool-btn {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
}

.gallery-modal-tool-btn:hover {
  background: #eff6ff;
  color: #2563eb;
  border-color: #bfdbfe;
}

[data-theme="dark"] .gallery-modal-tool-btn:hover {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.3);
}

.gallery-modal-close-btn:hover {
  background: #fee2e2 !important;
  border-color: #fca5a5 !important;
  color: #ef4444 !important;
}

/* Media Stage Holder - Full Clean Frame */
.gallery-modal-media-holder {
  width: 100%;
  background: #020617;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  min-height: 280px;
  max-height: 48vh;
}

.lightbox-ambient-glow {
  display: none !important;
}

.lightbox-media-wrapper {
  position: relative;
  z-index: 5;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.gallery-modal-media-holder video,
.gallery-modal-media-holder img,
.lightbox-media-wrapper video,
.lightbox-media-wrapper img {
  position: relative;
  z-index: 5;
  width: auto;
  max-width: 100%;
  max-height: 48vh;
  object-fit: contain;
  display: block;
  border-radius: 0;
  box-shadow: none;
  animation: fadeInMedia 0.25s ease forwards;
}

@keyframes fadeInMedia {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Navigation Arrows Floating On Media */
.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 20;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.lightbox-nav-btn:hover {
  background: #2563eb;
  border-color: #3b82f6;
  color: #ffffff;
  transform: translateY(-50%) scale(1.08);
}

.lightbox-nav-prev {
  left: 14px;
}

.lightbox-nav-next {
  right: 14px;
}

/* Thumbnails Strip */
.lightbox-thumbs-container {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 12px 20px;
}

[data-theme="dark"] .lightbox-thumbs-container {
  background: #0b1120;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lightbox-thumbs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.lightbox-thumbs-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
}

[data-theme="dark"] .lightbox-thumbs-title {
  color: #94a3b8;
}

.thumbs-title-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2563eb;
}

[data-theme="dark"] .thumbs-title-pulse {
  background: #38bdf8;
}

.lightbox-item-caption-pill {
  display: none !important;
}

.lightbox-thumbs-track {
  display: flex;
  gap: 10px;
  align-items: center;
  overflow-x: auto;
  padding: 2px;
  scrollbar-width: thin;
}

.lightbox-thumbs-track::-webkit-scrollbar {
  height: 4px;
}

.lightbox-thumbs-track::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.lightbox-thumb-item {
  width: 62px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 2px solid #e2e8f0;
  opacity: 0.6;
  transition: all 0.2s ease;
  background: #000000;
  flex-shrink: 0;
}

[data-theme="dark"] .lightbox-thumb-item {
  border-color: rgba(255, 255, 255, 0.12);
}

.lightbox-thumb-item img,
.lightbox-thumb-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lightbox-thumb-item:hover {
  opacity: 0.9;
  border-color: #93c5fd;
}

.lightbox-thumb-item.active {
  opacity: 1;
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.25);
  transform: scale(1.04);
}

[data-theme="dark"] .lightbox-thumb-item.active {
  border-color: #38bdf8;
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.3);
}

.lightbox-thumb-item .thumb-vid-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  color: #ffffff;
  font-size: 0.75rem;
}

/* Detail Info Card */
.gallery-modal-info {
  padding: 16px 20px 20px;
  background: #ffffff;
}

[data-theme="dark"] .gallery-modal-info {
  background: #0f172a;
}

.gallery-modal-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gallery-modal-icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

[data-theme="dark"] .gallery-modal-icon-badge {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.25);
  color: #38bdf8;
}

.gallery-modal-meta {
  display: flex;
  flex-direction: column;
}

.gallery-modal-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.35;
}

[data-theme="dark"] .gallery-modal-title {
  color: #ffffff;
}

.gallery-modal-desc {
  font-size: 0.84rem;
  color: #64748b;
  margin: 2px 0 0;
  line-height: 1.5;
}

[data-theme="dark"] .gallery-modal-desc {
  color: #94a3b8;
}

@media (max-width: 768px) {
  .gallery-lightbox-overlay {
    padding: 12px;
  }
  .gallery-modal-content {
    border-radius: 18px;
    width: 100%;
  }
  .gallery-modal-top-bar {
    padding: 10px 14px;
  }
  .gallery-modal-media-holder {
    min-height: 240px;
    max-height: 42vh;
  }
  .gallery-modal-media-holder video,
  .gallery-modal-media-holder img,
  .lightbox-media-wrapper video,
  .lightbox-media-wrapper img {
    max-height: 42vh;
  }
  .lightbox-nav-btn {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
  }
  .lightbox-nav-prev { left: 8px; }
  .lightbox-nav-next { right: 8px; }
  .gallery-modal-info {
    padding: 14px 16px;
  }
  .gallery-modal-title {
    font-size: 1rem;
  }
  .gallery-modal-desc {
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  .gallery-lightbox-overlay {
    padding: 12px;
  }
  .gallery-modal-content {
    border-radius: 20px;
    width: 100%;
  }
  .gallery-modal-top-bar {
    padding: 12px 16px;
  }
  .gallery-modal-media-holder {
    padding: 12px;
  }
  .gallery-modal-media-holder video,
  .gallery-modal-media-holder img,
  .lightbox-media-wrapper video,
  .lightbox-media-wrapper img {
    max-height: 44vh;
  }
  .lightbox-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 1rem;
  }
  .lightbox-nav-prev { left: 10px; }
  .lightbox-nav-next { right: 10px; }
  .gallery-modal-info {
    padding: 16px 18px;
  }
  .gallery-modal-title {
    font-size: 1.05rem;
  }
  .gallery-modal-desc {
    font-size: 0.82rem;
  }
}

@media (max-width: 768px) {
  .gallery-lightbox-overlay {
    padding: 12px;
  }
  .gallery-modal-content {
    border-radius: 20px;
    width: 100%;
  }
  .gallery-modal-top-bar {
    padding: 12px 16px;
  }
  .gallery-modal-media-holder {
    min-height: 280px;
    max-height: 52vh;
  }
  .gallery-modal-media-holder video,
  .gallery-modal-media-holder img,
  .lightbox-media-wrapper video,
  .lightbox-media-wrapper img {
    max-height: 50vh;
  }
  .lightbox-nav-btn {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    font-size: 1.05rem;
  }
  .lightbox-nav-prev { left: 12px; }
  .lightbox-nav-next { right: 12px; }
  .gallery-modal-info {
    padding: 18px 20px;
  }
  .gallery-modal-title {
    font-size: 1.1rem;
  }
  .gallery-modal-desc {
    font-size: 0.84rem;
  }
}

[data-theme="dark"] .coverflow-arrow {
  background: rgba(15, 23, 42, 0.9);
  color: #f8fafc;
  border-color: rgba(51, 65, 85, 0.8);
}

[data-theme="dark"] .coverflow-arrow:hover {
  background: #2563eb;
  color: #ffffff;
}

[data-theme="dark"] .coverflow-dot {
  background: rgba(51, 65, 85, 0.8);
}

[data-theme="dark"] .coverflow-dot.active {
  background: #38bdf8;
}
