/* ===================================================================
   DIKHA KRISNANDA HAFIZD - OFFICIAL PORTFOLIO DESIGN SYSTEM
   Theme: Cyber Glassmorphism & High-Tech Futuristic Minimalist
=================================================================== */

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

:root {
  /* Color Palette */
  --bg-dark: #07090e;
  --bg-card: rgba(16, 21, 35, 0.7);
  --bg-card-hover: rgba(23, 31, 52, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --bg-glass-strong: rgba(255, 255, 255, 0.08);

  /* Primary Cyber Accents */
  --cyan: #00f2fe;
  --cyan-glow: rgba(0, 242, 254, 0.35);
  --blue: #4facfe;
  --purple: #9d4edd;
  --purple-glow: rgba(157, 78, 221, 0.35);
  
  /* UMM Almamater Accent (Red) */
  --umm-red: #e11d48;
  --umm-glow: rgba(225, 29, 72, 0.35);

  /* Text Colors */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Borders & Highlights */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 242, 254, 0.25);
  --border-card: rgba(255, 255, 255, 0.12);

  /* Typography */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout */
  --max-w: 1240px;
  --nav-height: 80px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Background Atmosphere */
.bg-ambient-layer {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.28;
  transition: transform 12s ease;
  animation: floatOrb 22s infinite alternate ease-in-out;
}

.ambient-orb-1 {
  width: 650px;
  height: 650px;
  top: -150px;
  left: -150px;
  background: radial-gradient(circle, var(--cyan), transparent 70%);
}

.ambient-orb-2 {
  width: 700px;
  height: 700px;
  top: 40%;
  right: -200px;
  background: radial-gradient(circle, var(--purple), transparent 70%);
  animation-duration: 28s;
  animation-delay: -5s;
}

.ambient-orb-3 {
  width: 550px;
  height: 550px;
  bottom: -150px;
  left: 20%;
  background: radial-gradient(circle, var(--umm-red), transparent 70%);
  opacity: 0.2;
  animation-duration: 24s;
  animation-delay: -10s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(80px, 60px) scale(1.12); }
  100% { transform: translate(-60px, 90px) scale(0.95); }
}

/* Canvas for interactive particle constellations */
#particle-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* ===================================================================
   MOVING CYBER GRID & AMBIENT SCI-FI BACKGROUND
=================================================================== */
.bg-grid-cyber {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(0, 242, 254, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 242, 254, 0.035) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 85% 65% at 50% 40%, #000 50%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 65% at 50% 40%, #000 50%, transparent 100%);
  pointer-events: none;
  z-index: -2;
  animation: gridDrift 30s linear infinite;
}

@keyframes gridDrift {
  0% { background-position: 0 0; }
  100% { background-position: 0 500px; }
}

/* Top Scroll Reading Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  width: 0%;
  background: linear-gradient(90deg, #00f2fe 0%, #9d4edd 50%, #1ed760 100%);
  box-shadow: 0 0 14px rgba(0, 242, 254, 0.9), 0 0 24px rgba(157, 78, 221, 0.7);
  z-index: 10000;
  transition: width 0.08s ease-out;
  pointer-events: none;
}

/* Interactive Cursor Glow Spotlight */
.cursor-glow-spotlight {
  position: fixed;
  top: 0;
  left: 0;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.07) 0%, rgba(157, 78, 221, 0.04) 40%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: transform 0.08s ease-out, opacity 0.3s ease;
  z-index: 1;
  mix-blend-mode: screen;
}

/* ===================================================================
   SCROLL REVEAL ANIMATION SYSTEM — DIRECTIONAL
=================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(50px) scale(0.97);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-from-left {
  opacity: 0;
  transform: translateX(-60px) scale(0.97);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-from-right {
  opacity: 0;
  transform: translateX(60px) scale(0.97);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-zoom {
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.revealed,
.reveal-from-left.revealed,
.reveal-from-right.revealed,
.reveal-zoom.revealed {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.32s; }
.reveal-delay-4 { transition-delay: 0.44s; }
.reveal-delay-5 { transition-delay: 0.56s; }

/* Floating WhatsApp Quick Action Button */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 5.5rem;
  z-index: 998;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.15rem;
  background: rgba(37, 211, 102, 0.15);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(37, 211, 102, 0.45);
  border-radius: var(--radius-full);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(37, 211, 102, 0.25);
  transition: var(--transition);
  cursor: pointer;
}

.floating-whatsapp-btn:hover {
  background: #25d366;
  color: #07090e;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.8), 0 0 30px rgba(37, 211, 102, 0.6);
}

.floating-whatsapp-btn svg {
  color: #25d366;
  transition: color 0.2s ease;
}

.floating-whatsapp-btn:hover svg {
  color: #07090e;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* Typography Helpers */
.font-display { font-family: var(--font-display); }
.font-mono { font-family: var(--font-mono); }

.gradient-text {
  background: linear-gradient(135deg, #ffffff 10%, var(--cyan) 60%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-text-red {
  background: linear-gradient(135deg, #ffffff 10%, #fb7185 50%, var(--umm-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Section Display Headers */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.section-header::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  border-radius: 2px;
  margin: 1.5rem auto 0;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}
.section-header.revealed::after {
  width: 80px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.08);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 0.75rem;
}

.section-desc {
  max-width: 620px;
  margin-inline: auto;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ===================================================================
   NAVIGATION BAR
=================================================================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.site-nav.scrolled {
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  height: 72px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: #050510;
  font-size: 1rem;
  font-weight: 800;
  box-shadow: 0 0 16px var(--cyan-glow);
}

.brand-text span {
  color: var(--cyan);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding-block: 0.4rem;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  transition: var(--transition);
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.25);
  border-radius: var(--radius-full);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.btn-contact-nav {
  text-decoration: none;
  padding: 0.55rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #07090e;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  border-radius: var(--radius-full);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px var(--cyan-glow);
}

.btn-contact-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--cyan-glow);
}

/* Mobile Toggle */
.mobile-toggle-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0.5rem;
}

/* ===================================================================
   HERO SECTION — ENTRANCE ANIMATIONS
=================================================================== */
.hero-section {
  min-height: 100vh;
  padding-top: calc(var(--nav-height) + 2rem);
  padding-bottom: 4rem;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.15rem;
  background: rgba(225, 29, 72, 0.1);
  border: 1px solid rgba(225, 29, 72, 0.3);
  border-radius: var(--radius-full);
  color: #fb7185;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 15px rgba(225, 29, 72, 0.15);
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.2vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  animation: heroFadeUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

.hero-typewriter-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  color: var(--cyan);
  min-height: 2.2rem;
  margin-bottom: 1.5rem;
  animation: heroFadeUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.48s both;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: scale(0.94) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.typewriter-cursor {
  display: inline-block;
  width: 3px;
  height: 1.3em;
  background-color: var(--cyan);
  margin-left: 2px;
  animation: blink 0.85s infinite ease;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-bio {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 580px;
  animation: heroFadeUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.58s both;
}

.hero-bio strong {
  color: #fff;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
  animation: heroFadeUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.68s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  font-size: 1rem;
  font-weight: 600;
  color: #07090e;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--blue) 100%);
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 6px 20px var(--cyan-glow);
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px var(--cyan-glow);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--cyan);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.hero-social-strip {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  animation: heroFadeUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.78s both;
}

.social-strip-label {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.social-icons-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.social-btn:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  background: rgba(0, 242, 254, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px var(--cyan-glow);
}

/* ===================================================================
   HERO 3D INTERACTIVE ID BADGE
=================================================================== */
.hero-badge-stage {
  perspective: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: heroFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

/* Lanyard swing-in animation */
@keyframes lanyardSwing {
  0%   { transform: rotate(-6deg); }
  50%  { transform: rotate(4deg); }
  100% { transform: rotate(0deg); }
}
.hero-badge-stage > * {
  animation: lanyardSwing 0.8s cubic-bezier(0.36, 0.07, 0.19, 0.97) 0.5s both;
}

.badge-3d-card {
  width: 100%;
  max-width: 370px;
  background: linear-gradient(145deg, rgba(23, 29, 48, 0.9), rgba(11, 15, 26, 0.95));
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.7), 0 0 30px -5px rgba(0, 242, 254, 0.2);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out, box-shadow 0.3s ease;
  cursor: pointer;
}

.badge-hologram-shine {
  position: absolute;
  inset: -100%;
  background: linear-gradient(
    115deg,
    transparent 20%,
    rgba(0, 242, 254, 0.15) 40%,
    rgba(157, 78, 221, 0.2) 50%,
    rgba(225, 29, 72, 0.15) 60%,
    transparent 80%
  );
  transform: rotate(25deg);
  pointer-events: none;
  transition: opacity 0.3s ease;
  opacity: 0.6;
}

/* Lanyard Slot Top */
.badge-lanyard-hanger {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
  position: relative;
}

.lanyard-slot {
  width: 60px;
  height: 12px;
  border-radius: 6px;
  background: #05070c;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.8);
}

.lanyard-clip {
  position: absolute;
  top: -18px;
  width: 24px;
  height: 20px;
  background: linear-gradient(180deg, #94a3b8, #475569);
  border-radius: 4px 4px 2px 2px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

/* Badge Header */
.badge-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.badge-chip {
  width: 32px;
  height: 24px;
  border-radius: 4px;
  background: linear-gradient(135deg, #d4af37, #f3e5ab, #aa820a);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.6), 0 2px 6px rgba(0, 0, 0, 0.4);
}

.badge-campus-tag {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: #fb7185;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: right;
  line-height: 1.2;
}

/* Badge Photo Container */
.badge-portrait-wrap {
  width: 100%;
  aspect-ratio: 1 / 1.15;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(180deg, #1e293b, #0f172a);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.6);
  margin-bottom: 1.25rem;
}

.badge-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.badge-3d-card:hover .badge-img {
  transform: scale(1.05);
}

.badge-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(7, 9, 14, 0.95) 100%);
  pointer-events: none;
}

.badge-photo-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0, 242, 254, 0.18);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 242, 254, 0.4);
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan);
  font-weight: 600;
}

/* Badge Info Details */
.badge-info-details {
  text-align: left;
}

.badge-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 0.2rem;
}

.badge-role {
  font-size: 0.85rem;
  color: var(--cyan);
  font-family: var(--font-mono);
  margin-bottom: 0.75rem;
}

.badge-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
}

.barcode-strip {
  letter-spacing: 2px;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

/* ===================================================================
   ABOUT ME SECTION
=================================================================== */
.about-section {
  padding-block: 6rem;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-card-surface {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
}

.about-p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-p strong {
  color: #fff;
  font-weight: 600;
}

.about-p .highlight-cyan {
  color: var(--cyan);
}

.about-p .highlight-red {
  color: #fb7185;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.stat-box {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: var(--transition);
}

.stat-box:hover {
  background: var(--bg-glass-strong);
  border-color: var(--cyan);
  transform: translateY(-3px);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Info Cards Right Side */
.about-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.info-item-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition);
}

.info-item-card:hover {
  border-color: var(--cyan);
  transform: translateX(6px);
  background: var(--bg-card-hover);
}

.info-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.25);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-item-icon.red {
  background: rgba(225, 29, 72, 0.1);
  border-color: rgba(225, 29, 72, 0.3);
  color: #fb7185;
}

.info-item-icon.purple {
  background: rgba(157, 78, 221, 0.1);
  border-color: rgba(157, 78, 221, 0.3);
  color: #c084fc;
}

.info-item-content h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #fff;
}

.info-item-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ===================================================================
   EDUCATION & TIMELINE SECTION
=================================================================== */
.timeline-section {
  padding-block: 6rem;
  position: relative;
  background: linear-gradient(180deg, transparent, rgba(16, 21, 35, 0.5), transparent);
}

.timeline-flow {
  max-width: 860px;
  margin-inline: auto;
  position: relative;
}

.timeline-flow::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 28px;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan), var(--purple), var(--umm-red));
  border-radius: 2px;
  animation: lineGrow 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
  transform-origin: top;
}

@keyframes lineGrow {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}

.timeline-item {
  position: relative;
  padding-left: 70px;
  margin-bottom: 3.5rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-node {
  position: absolute;
  left: 17px;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 3px solid var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  z-index: 2;
  animation: nodePulse 2.4s ease-in-out infinite;
}

@keyframes nodePulse {
  0%, 100% { box-shadow: 0 0 10px var(--cyan), 0 0 22px rgba(0, 242, 254, 0.3); }
  50%       { box-shadow: 0 0 20px var(--cyan), 0 0 40px rgba(0, 242, 254, 0.5); }
}

.timeline-item.edu-umm .timeline-node {
  border-color: var(--umm-red);
  animation: nodePulseRed 2.4s ease-in-out infinite;
}

@keyframes nodePulseRed {
  0%, 100% { box-shadow: 0 0 10px var(--umm-red), 0 0 22px var(--umm-glow); }
  50%       { box-shadow: 0 0 20px var(--umm-red), 0 0 40px rgba(225, 29, 72, 0.5); }
}

.timeline-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

.timeline-card:hover {
  border-color: var(--cyan);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.6);
}

.timeline-header-group {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
}

.timeline-period {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(0, 242, 254, 0.1);
  color: var(--cyan);
  border: 1px solid rgba(0, 242, 254, 0.25);
}

.timeline-period.red {
  background: rgba(225, 29, 72, 0.1);
  color: #fb7185;
  border-color: rgba(225, 29, 72, 0.3);
}

.timeline-institution {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.timeline-desc {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

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

.t-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

/* ===================================================================
   CERTIFICATES & ACHIEVEMENTS SECTION (WITH LIGHTBOX)
=================================================================== */
.cert-section {
  padding-block: 6rem;
  position: relative;
}

.cert-filter-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.cert-filter-btn {
  padding: 0.6rem 1.4rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.cert-filter-btn:hover,
.cert-filter-btn.active {
  color: #07090e;
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 4px 16px var(--cyan-glow);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 2rem;
}

.cert-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.cert-card:hover {
  transform: translateY(-8px);
  border-color: var(--cyan);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7), 0 0 25px -5px var(--cyan-glow);
}

.cert-preview-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0d121f;
}

.cert-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cert-img.focus-trophy {
  object-position: center 30%;
}

.cert-card:hover .cert-img {
  transform: scale(1.06);
}

.cert-zoom-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 9, 14, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.cert-card:hover .cert-zoom-overlay {
  opacity: 1;
}

.zoom-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cyan);
  color: #07090e;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px var(--cyan-glow);
}

.cert-level-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(8px);
  z-index: 2;
}

.cert-level-badge.international {
  background: rgba(157, 78, 221, 0.25);
  color: #d8b4fe;
  border: 1px solid rgba(157, 78, 221, 0.5);
}

.cert-level-badge.national {
  background: rgba(0, 242, 254, 0.2);
  color: #67e8f9;
  border: 1px solid rgba(0, 242, 254, 0.5);
}

.cert-level-badge.provinsi {
  background: rgba(245, 158, 11, 0.22);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.55);
}

.cert-level-badge.kabupaten {
  background: rgba(16, 185, 129, 0.22);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.55);
}

.cert-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.cert-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  margin-bottom: 0.6rem;
}

.cert-org {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.cert-footer-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
}

.cert-no {
  color: var(--cyan);
}

/* ===================================================================
   LIGHTBOX MODAL
=================================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5, 7, 12, 0.92);
  backdrop-filter: blur(16px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-modal.is-active {
  display: flex;
  opacity: 1;
}

.lightbox-content-box {
  background: #0d121f;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 40px var(--cyan-glow);
  display: flex;
  flex-direction: column;
}

.lightbox-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
}

.lightbox-close-btn:hover {
  background: var(--umm-red);
  transform: rotate(90deg);
}

.lightbox-img-area {
  width: 100%;
  background: #05070c;
  display: flex;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox-img-area img {
  max-width: 100%;
  max-height: 65vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-details-area {
  padding: 1.75rem 2rem;
  background: #0d121f;
}

.lightbox-details-area h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.lightbox-details-area p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.lightbox-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--cyan);
}

/* ===================================================================
   SKILLS & EXPERTISE SECTION
=================================================================== */
.skills-section {
  padding-block: 6rem;
  position: relative;
}

.skills-matrix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.skill-category-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

.skill-category-card:hover {
  border-color: var(--cyan);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.6);
}

.skill-cat-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.skill-cat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
}

.skill-cat-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

.skill-items-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.skill-item-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.skill-info-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 500;
}

.skill-info-top span:first-child {
  color: #fff;
}

.skill-info-top span:last-child {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.skill-bar-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  border-radius: var(--radius-full);
  transition: width 1.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

/* Shimmer sweep effect on skill bars */
.skill-bar-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.35) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: shimmerSweep 2.5s ease-in-out infinite;
}

@keyframes shimmerSweep {
  0%   { transform: translateX(-100%); }
  60%  { transform: translateX(200%); }
  100% { transform: translateX(200%); }
}

.skill-category-card:nth-child(2) .skill-bar-fill {
  background: linear-gradient(90deg, var(--blue), var(--purple));
}

.skill-category-card:nth-child(3) .skill-bar-fill {
  background: linear-gradient(90deg, var(--purple), var(--umm-red));
}

.skill-category-card:nth-child(4) .skill-bar-fill {
  background: linear-gradient(90deg, #f59e0b, #10b981);
}

/* ===================================================================
   FEATURED PROJECTS SECTION
=================================================================== */
.projects-section {
  padding-block: 6rem;
  position: relative;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 2.25rem;
}

.project-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Glowing border sweep on hover */
.project-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--cyan), var(--purple), var(--cyan));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
  background-size: 200% 200%;
  animation: borderGlow 3s linear infinite;
}

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

.project-card:hover::before {
  opacity: 1;
}

.project-card:hover {
  transform: translateY(-10px) scale(1.01);
  border-color: var(--cyan);
  box-shadow: 0 24px 48px -10px rgba(0, 0, 0, 0.75),
              0 0 30px rgba(0, 242, 254, 0.3);
}

.project-thumb-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #090c15;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-img {
  transform: scale(1.06);
}

.project-zoom-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 9, 14, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.project-card:hover .project-zoom-overlay {
  opacity: 1;
}

.project-thumb-visual {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.8;
  transition: var(--transition);
}

.project-card:hover .project-thumb-visual {
  transform: scale(1.1);
  opacity: 1;
}

.project-badge-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 0.3rem 0.75rem;
  background: rgba(7, 9, 14, 0.82);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan);
  backdrop-filter: blur(8px);
  z-index: 2;
}

.project-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.6rem;
}

.project-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.project-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tech-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

.project-links-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  transition: var(--transition);
}

.btn-project-link:hover {
  color: var(--cyan);
}

/* ===================================================================
   CONTACT SECTION
=================================================================== */
.contact-section {
  padding-block: 6rem;
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: flex-start;
}

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

.contact-card-box {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  transition: var(--transition);
}

.contact-card-box:hover {
  border-color: var(--cyan);
  background: var(--bg-card-hover);
  transform: translateX(6px);
}

.contact-icon-bubble {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.25);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-text span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.contact-card-text strong {
  display: block;
  font-size: 1rem;
  color: #fff;
}

/* Contact Form */
.contact-form-surface {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: rgba(7, 9, 14, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: #fff;
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 16px var(--cyan-glow);
}

.form-textarea {
  min-height: 130px;
  resize: vertical;
}

.btn-submit-form {
  width: 100%;
  padding: 0.9rem;
  border: none;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #07090e;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  box-shadow: 0 6px 20px var(--cyan-glow);
  transition: var(--transition);
}

.btn-submit-form:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px var(--cyan-glow);
}

/* Toast Message */
.toast-alert {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 10000;
  padding: 1rem 1.5rem;
  background: #0d121f;
  border: 1px solid var(--cyan);
  border-radius: var(--radius-md);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px var(--cyan-glow);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.toast-alert.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* ===================================================================
   FOOTER
=================================================================== */
.site-footer {
  padding-top: 4rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid var(--border-subtle);
  background: rgba(5, 7, 12, 0.9);
  position: relative;
}

.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.3rem;
}

.footer-brand p {
  color: var(--text-dim);
  font-size: 0.95rem;
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.88rem;
  color: var(--text-dim);
}

.btn-back-to-top {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.btn-back-to-top:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  background: rgba(0, 242, 254, 0.1);
  transform: translateY(-3px);
}

/* ===================================================================
   SPOTIFY M!PLAY SECTION
=================================================================== */
.spotify-section {
  padding-block: 6rem;
  position: relative;
}

.spotify-card {
  background: linear-gradient(135deg, rgba(20, 28, 48, 0.9), rgba(9, 14, 26, 0.96));
  backdrop-filter: blur(24px);
  border: 1px solid rgba(29, 185, 84, 0.35);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8), 0 0 35px -10px rgba(29, 185, 84, 0.25);
  animation: spotifyPulseGlow 4s ease-in-out infinite;
}

@keyframes spotifyPulseGlow {
  0%, 100% { box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8), 0 0 35px -10px rgba(29, 185, 84, 0.25); }
  50%       { box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8), 0 0 55px -5px rgba(29, 185, 84, 0.42); }
}

.spotify-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 185, 84, 0.18), transparent 70%);
  pointer-events: none;
}

.spotify-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 1.15rem;
  background: rgba(29, 185, 84, 0.12);
  border: 1px solid rgba(29, 185, 84, 0.35);
  border-radius: var(--radius-full);
  color: #1ed760;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.spotify-logo-icon {
  display: flex;
  align-items: center;
  color: #1ed760;
}

/* Animated Equalizer */
.equalizer-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 16px;
  margin-left: 0.25rem;
}

.equalizer-bars .bar {
  width: 3px;
  background: #1ed760;
  border-radius: 2px;
  animation: equalize 1.2s infinite ease-in-out alternate;
}

.equalizer-bars .bar-1 { height: 60%; animation-delay: 0.1s; }
.equalizer-bars .bar-2 { height: 100%; animation-delay: 0.4s; }
.equalizer-bars .bar-3 { height: 40%; animation-delay: 0.2s; }
.equalizer-bars .bar-4 { height: 80%; animation-delay: 0.5s; }

@keyframes equalize {
  0% { height: 25%; }
  50% { height: 95%; }
  100% { height: 45%; }
}

.spotify-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 1.25rem;
}

.gradient-text-spotify {
  background: linear-gradient(135deg, #1ed760 0%, #00f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.spotify-description {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 540px;
}

.spotify-description strong {
  color: #fff;
}

.btn-spotify {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.8rem;
  background: #1ed760;
  color: #05070c;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(29, 185, 84, 0.35);
  transition: var(--transition);
}

.btn-spotify:hover {
  background: #1fdf64;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(29, 185, 84, 0.5);
}

.spotify-player-wrap {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #121212;
}

.spotify-player-wrap iframe {
  display: block;
  width: 100%;
  height: 352px;
  border: none;
}

/* Floating Music Quick Pill */
.floating-music-pill {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.25rem;
  background: rgba(13, 18, 31, 0.88);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(29, 185, 84, 0.4);
  border-radius: var(--radius-full);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(29, 185, 84, 0.25);
  transition: var(--transition);
  cursor: pointer;
}

.floating-music-pill:hover {
  border-color: #1ed760;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.8), 0 0 28px rgba(29, 185, 84, 0.4);
}

.floating-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1ed760;
  box-shadow: 0 0 8px #1ed760;
}

.floating-pill-text {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
}

/* ===================================================================
   FLOATING ACTION ANIMATION ENHANCEMENTS
=================================================================== */
.floating-music-pill {
  animation: floatPill 3.5s ease-in-out infinite;
}
@keyframes floatPill {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}
.floating-music-pill:hover {
  animation: none;
}

/* Hero badge floating levitate */
.badge-3d-card {
  animation: cardLevitate 5s ease-in-out infinite;
}
@keyframes cardLevitate {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}
/* Pause levitate on hover to allow tilt */
.badge-3d-card:hover {
  animation: none;
}

/* Cert card hover enhanced */
.cert-card:hover {
  transform: translateY(-10px) scale(1.015);
  box-shadow: 0 24px 48px -10px rgba(0, 0, 0, 0.75), 0 0 30px rgba(0, 242, 254, 0.25);
}

/* Stat box animated border glow on hover */
.stat-box:hover {
  box-shadow: 0 0 24px rgba(0, 242, 254, 0.2), inset 0 0 10px rgba(0, 242, 254, 0.05);
}

/* Info card hover direction polish */
.info-item-card:hover {
  box-shadow: 4px 0 20px rgba(0, 242, 254, 0.15);
}

/* About card surface subtle glow on hover */
.about-card-surface:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 242, 254, 0.08);
  border-color: rgba(0, 242, 254, 0.2);
  transition: var(--transition);
}

/* Timeline card hover polish */
.timeline-card:hover {
  box-shadow: 0 20px 45px -12px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 242, 254, 0.12);
}

/* Fade-in-up keyframe used by cert filter animation */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ===================================================================
   RESPONSIVE QUERIES
=================================================================== */
@media (max-width: 992px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .spotify-card {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .skills-matrix-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .spotify-card {
    padding: 2.25rem;
  }

  .hero-badge-stage {
    order: -1;
  }

  .nav-links {
    display: none;
  }

  .mobile-toggle-btn {
    display: flex;
  }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(7, 9, 14, 0.96);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-card);
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  }
}

@media (max-width: 640px) {
  :root {
    --nav-height: 70px;
  }

  .container {
    padding-inline: 1.15rem;
  }

  .hero-badge-pill {
    max-width: 100%;
    white-space: normal;
    text-align: center;
    font-size: 0.78rem;
    line-height: 1.4;
  }

  .hero-social-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .cert-grid,
  .projects-grid,
  .skills-matrix-grid,
  .about-stats-grid {
    grid-template-columns: 1fr;
  }

  .project-links-row {
    flex-direction: column;
    width: 100%;
    gap: 0.6rem;
  }

  .btn-project-link {
    width: 100%;
    justify-content: center;
  }

  .cert-filter-row {
    gap: 0.45rem;
    justify-content: center;
  }

  .cert-filter-btn {
    padding: 0.45rem 0.95rem;
    font-size: 0.78rem;
  }

  .timeline-flow::before {
    left: 18px;
  }

  .timeline-item {
    padding-left: 48px;
  }

  .timeline-node {
    left: 7px;
    width: 20px;
    height: 20px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .badge-3d-card {
    max-width: 320px;
    width: 100%;
  }

  .spotify-card {
    padding: 1.5rem;
  }

  .lightbox-modal {
    padding: 0.75rem;
  }

  .lightbox-content-box {
    max-height: 94vh;
    border-radius: var(--radius-md);
  }

  .lightbox-img-area {
    padding: 0.75rem;
  }

  .lightbox-details-area {
    padding: 1.25rem 1rem;
  }

  .lightbox-meta-strip {
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.75rem;
  }

  .toast-alert {
    max-width: 90vw;
    bottom: 5.5rem;
    font-size: 0.85rem;
  }

  .floating-music-pill {
    bottom: 1rem;
    left: 0.85rem;
    padding: 0.45rem 0.8rem;
  }

  .floating-whatsapp-btn {
    bottom: 1rem;
    right: 4.2rem;
    padding: 0.6rem;
    width: 42px;
    height: 42px;
    justify-content: center;
    border-radius: 50%;
  }

  .floating-whatsapp-btn span {
    display: none;
  }

  .btn-back-to-top {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 480px) {
  .container {
    padding-inline: 0.85rem;
  }

  .badge-3d-card {
    max-width: 290px;
  }

  .badge-name {
    font-size: 1.1rem;
  }

  .about-card-surface {
    padding: 1.25rem;
  }

  .stat-box {
    padding: 1rem;
  }

  .skill-category-card {
    padding: 1.25rem;
  }

  .contact-card-box {
    padding: 1rem;
  }

  .contact-form-surface {
    padding: 1.25rem;
  }
}

@media (max-width: 360px) {
  .hero-headline {
    font-size: 1.85rem;
  }

  .badge-name {
    font-size: 0.95rem;
  }

  .cert-filter-btn {
    font-size: 0.7rem;
    padding: 0.35rem 0.65rem;
  }
}
