/* ==========================================================================
   SANTA MAYENGBAM — MOODY NATURE PORTFOLIO
   Dark, raining, calm. Forest at night.
   ========================================================================== */

:root {
  --bg: #0c0f0d;
  --bg-2: #111611;
  --surface: rgba(255, 255, 255, 0.03);
  --line: rgba(220, 235, 224, 0.09);
  --ink: #e9f0ea;
  --muted: #93a296;
  --moss: #7ba05b;
  --fern: #a8c686;
  --water: #8fc7c0;
  --cloud: #cfd8cf;
  --grad-soft: linear-gradient(160deg, var(--fern), var(--water));
  --radius: 20px;
  --maxw: 1060px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --display: "Syne", "Outfit", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}
::selection {
  background: var(--moss);
  color: #0c0f0d;
}
a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Ambient scene ---------- */
.scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      900px circle at 15% 10%,
      rgba(123, 160, 91, 0.1),
      transparent 60%
    ),
    radial-gradient(
      800px circle at 85% 90%,
      rgba(143, 199, 192, 0.08),
      transparent 60%
    ),
    linear-gradient(180deg, #0a0d0b 0%, #0e1310 50%, #090b09 100%);
}
#rain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.mist {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
}
.m1 {
  width: 60vw;
  height: 22vh;
  left: -10vw;
  top: 28%;
  background: radial-gradient(
    ellipse,
    rgba(168, 198, 134, 0.1),
    transparent 70%
  );
  animation: drift 26s ease-in-out infinite alternate;
}
.m2 {
  width: 55vw;
  height: 20vh;
  right: -12vw;
  top: 55%;
  background: radial-gradient(
    ellipse,
    rgba(143, 199, 192, 0.09),
    transparent 70%
  );
  animation: drift 32s ease-in-out infinite alternate-reverse;
}
.m3 {
  width: 50vw;
  height: 18vh;
  left: 15vw;
  bottom: 2%;
  background: radial-gradient(
    ellipse,
    rgba(207, 216, 207, 0.07),
    transparent 70%
  );
  animation: drift 24s ease-in-out infinite alternate;
}
.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    transparent 55%,
    rgba(6, 8, 7, 0.55) 100%
  );
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 5vw;
  background: linear-gradient(
    180deg,
    rgba(10, 13, 11, 0.88) 0%,
    rgba(10, 13, 11, 0.45) 65%,
    transparent 100%
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.nav.scrolled {
  background: rgba(10, 13, 11, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 5vw;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.logo {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  font-weight: 600;
  z-index: 102;
  position: relative;
}

.logo .dot {
  color: var(--fern);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 400;
  transition: color 0.25s;
  position: relative;
  letter-spacing: 0.02em;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1.5px;
  background: var(--fern);
  transition: width 0.3s var(--ease);
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links .nav-shelf-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(168, 198, 134, 0.09);
  border: 1px solid rgba(168, 198, 134, 0.28);
  color: var(--fern);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.25s var(--ease);
}

.nav-links .nav-shelf-pill:hover {
  background: rgba(168, 198, 134, 0.2);
  border-color: rgba(168, 198, 134, 0.55);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(123, 160, 91, 0.25);
}

.nav-links .nav-shelf-pill::after {
  display: none !important;
}

.nav-pill-badge {
  font-family: monospace;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--fern);
  background: rgba(0, 0, 0, 0.25);
  padding: 1px 5px;
  border-radius: 4px;
}

.nav-links .nav-shelf-pill:hover .nav-pill-badge {
  color: #ffffff;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  cursor: pointer;
  z-index: 102;
  position: relative;
  transition: all 0.25s var(--ease);
  outline: none;
  padding: 0;
}

.burger:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(168, 198, 134, 0.4);
}

.burger span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}

.burger.open {
  background: rgba(168, 198, 134, 0.12);
  border-color: rgba(168, 198, 134, 0.4);
}

.burger.open span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
  background: var(--fern);
}

.burger.open span:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
  background: var(--fern);
}
/* ---------- Hero (Full-Width Background Parallax) ---------- */
.hero.hero-fullwidth-bg {
  min-height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 85px 0 24px;
  box-sizing: border-box;
  z-index: 2;
}

.hero-bg-parallax {
  position: absolute;
  inset: -4% 0 -4% 0;
  width: 100%;
  height: 108%;
  background-size: cover;
  background-position: left 15% center;
  background-repeat: no-repeat;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  z-index: 0;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Dark Atmospheric Opacity Gradient Scrim for Contrast & Mood */
.hero-dark-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(10, 13, 11, 0.15) 0%,
      rgba(10, 13, 11, 0.75) 100%
    ),
    radial-gradient(
      ellipse at 85% 45%,
      rgba(10, 13, 11, 0.65) 0%,
      transparent 68%
    ),
    linear-gradient(
      180deg,
      rgba(10, 13, 11, 0.6) 0%,
      transparent 25%,
      transparent 75%,
      rgba(10, 13, 11, 0.85) 100%
    );
  pointer-events: none;
  z-index: 1;
}

/* Subtle top and bottom blend for page continuity */
.hero-bg-gradient-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(0deg, var(--bg) 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-bg-gradient-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 90px;
  background: linear-gradient(
    180deg,
    rgba(10, 13, 11, 0.65) 0%,
    transparent 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-fullwidth-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1320px;
  padding: 0 5vw;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

/* ---------- Enhanced Minimal Cinematic Hero Layout ---------- */
.hero-cinematic-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 32px;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 2;
  flex: 1;
  padding: 10px 0;
}

.hero-view-spacer {
  min-height: 200px;
  pointer-events: none;
}

.hero-cinematic-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 10px 0;
  max-width: 530px;
  margin-top: -265px;
}

/* Enhanced Kicker Badge */
.hero-kicker-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 100px;
  background: rgba(12, 17, 14, 0.72);
  border: 1px solid rgba(168, 198, 134, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--fern);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}

.pulse-sparkle {
  color: #ffa502;
  font-size: 0.85rem;
  filter: drop-shadow(0 0 6px rgba(255, 165, 2, 0.8));
}

/* Enhanced Name Title Typography */
.hero-name-title {
  font-family: var(--display);
  font-size: clamp(2.5rem, 4.5vw, 4.1rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #ffffff;
  text-shadow:
    0 10px 40px rgba(0, 0, 0, 0.95),
    0 2px 10px rgba(0, 0, 0, 0.9);
  margin-bottom: 16px;
  white-space: nowrap;
}

/* Nature Lover Description with Editorial Glow */
.hero-nature-desc {
  font-size: clamp(0.96rem, 1.38vw, 1.15rem);
  font-weight: 300;
  line-height: 1.65;
  color: rgba(233, 240, 234, 0.92);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.95);
  max-width: 500px;
  margin-bottom: 24px;
  letter-spacing: -0.005em;
}

.highlight-warm {
  color: #ffcca8;
  font-weight: 400;
  text-shadow: 0 0 16px rgba(255, 176, 136, 0.4);
}

.highlight-light {
  color: #ffffff;
  font-weight: 400;
}

/* Action Buttons */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-cinematic-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: 100px;
  background: var(--fern);
  color: #0c0f0d;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.3s var(--ease);
  box-shadow: 0 10px 30px rgba(168, 198, 134, 0.35);
}

.btn-cinematic-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(168, 198, 134, 0.55);
  background: #bde096;
}

.btn-cinematic-primary svg {
  transition: transform 0.25s var(--ease);
}

.btn-cinematic-primary:hover svg {
  transform: translate(2px, -2px);
}

.btn-cinematic-ghost {
  display: inline-flex;
  align-items: center;
  padding: 13px 26px;
  border-radius: 100px;
  background: rgba(12, 17, 14, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 0.3s var(--ease);
}

.btn-cinematic-ghost:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

/* Minimalist Micro-Stats Row */
.hero-micro-stats {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding: 8px 18px;
  background: rgba(10, 14, 11, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.micro-stat-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.micro-stat-num {
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--fern);
  letter-spacing: -0.01em;
}

.micro-stat-text {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(233, 240, 234, 0.75);
  letter-spacing: 0.02em;
}

.micro-stat-divider {
  color: rgba(168, 198, 134, 0.4);
  font-size: 0.65rem;
}

/* Subtle Hero Scroll Indicator */
.hero-scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  font-weight: 600;
  opacity: 0.75;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.hero-scroll-cue:hover {
  opacity: 1;
  transform: translateX(-50%) translateY(3px);
  color: var(--fern);
}

.scroll-mouse-wheel {
  width: 18px;
  height: 30px;
  border-radius: 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  position: relative;
}

.scroll-mouse-wheel::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 6px;
  border-radius: 2px;
  background: var(--fern);
  animation: mouse-scroll 1.8s infinite ease;
}

@keyframes mouse-scroll {
  0% {
    transform: translate(-50%, 0);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, 10px);
    opacity: 0;
  }
}

/* ---------- Hero Floating Scene & Badges (Right Area) ---------- */
.hero-visual-wrap {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 440px;
}

.hero-floating-scene {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  pointer-events: none;
}

.hero-floating-scene > * {
  pointer-events: auto;
}

.floating-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 16px;
  background: rgba(14, 20, 16, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  transition:
    transform 0.3s var(--ease),
    border-color 0.3s;
  will-change: transform;
}

.floating-badge:hover {
  border-color: var(--fern);
  background: rgba(20, 28, 22, 0.95);
}

.hero-float-1 {
  align-self: flex-start;
  margin-top: 8px;
  margin-left: 10px;
}

.hero-float-2 {
  align-self: flex-end;
  margin-right: 0;
}

.badge-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(123, 160, 91, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(168, 198, 134, 0.35);
}

.badge-icon {
  font-size: 1.15rem;
}

.floating-badge strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}

.floating-badge small {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
}

/* Lens Card */
.hero-lens-card {
  width: 100%;
  max-width: 340px;
  padding: 18px 22px;
  border-radius: 20px;
  background: rgba(12, 17, 14, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  will-change: transform;
  transition:
    transform 0.3s var(--ease),
    border-color 0.3s;
}

.hero-lens-card:hover {
  border-color: rgba(168, 198, 134, 0.4);
}

.lens-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--fern);
  font-weight: 600;
  margin-bottom: 8px;
}

.lens-dot.live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #55efc4;
  box-shadow: 0 0 8px #55efc4;
  animation: pulse-glow 2s infinite ease-in-out;
}

.lens-body {
  font-size: 0.84rem;
  color: rgba(233, 240, 234, 0.95);
  line-height: 1.5;
  font-style: italic;
  font-family: var(--serif);
  margin-bottom: 12px;
}

.lens-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 8px;
  font-family: monospace;
}

.lens-tag {
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(143, 199, 192, 0.15);
  color: var(--water);
  font-size: 0.68rem;
  font-weight: 600;
}

/* ---------- CINEMATIC PARALLAX SHOWCASE SECTION ---------- */
.parallax-cinematic-section {
  position: relative;
  width: 100%;
  min-height: 90vh;
  margin: 60px 0 100px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    inset 0 20px 50px rgba(0, 0, 0, 0.8),
    inset 0 -20px 50px rgba(0, 0, 0, 0.8);
}

.cinematic-parallax-container {
  position: relative;
  width: 100%;
  height: 90vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cinematic-bg-layer {
  position: absolute;
  inset: -10% 0 -10% 0;
  width: 100%;
  height: 120%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
}

.cinematic-gradient-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 240px;
  background: linear-gradient(
    180deg,
    var(--bg) 0%,
    rgba(12, 15, 13, 0.7) 45%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 2;
}

.cinematic-gradient-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 240px;
  background: linear-gradient(
    0deg,
    var(--bg) 0%,
    rgba(12, 15, 13, 0.7) 45%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 2;
}

.cinematic-warmth-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 70% 30%,
      rgba(255, 130, 80, 0.12),
      transparent 60%
    ),
    radial-gradient(
      ellipse at 30% 70%,
      rgba(123, 160, 91, 0.15),
      transparent 70%
    );
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: screen;
}

.cinematic-content {
  position: relative;
  z-index: 3;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 6vw;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cinematic-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 100px;
  background: rgba(12, 15, 13, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  color: var(--water);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
  will-change: transform;
}

.sparkle {
  color: #ffa502;
}

.cinematic-heading {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 6.5vw, 4.6rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  margin-bottom: 24px;
  will-change: transform;
}

.cinematic-heading em {
  font-style: italic;
  color: #ff9f73;
  text-shadow: 0 0 25px rgba(255, 159, 115, 0.4);
}

.cinematic-quote {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(233, 240, 234, 0.9);
  max-width: 680px;
  margin-bottom: 36px;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.8);
  will-change: transform;
}

.cinematic-pills {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  will-change: transform;
}

.cinematic-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: 100px;
  background: rgba(16, 22, 18, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.25s var(--ease),
    border-color 0.25s,
    background 0.25s;
}

.cinematic-pill:hover {
  transform: translateY(-2px);
  border-color: var(--water);
  background: rgba(20, 28, 24, 0.85);
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--water);
  box-shadow: 0 0 8px var(--water);
}

.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 4;
  opacity: 0.8;
  will-change: transform;
}

.scroll-mouse {
  width: 20px;
  height: 32px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 14px;
  position: relative;
}

.scroll-mouse::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 6px;
  background: var(--fern);
  border-radius: 2px;
  animation: scroll-wheel 1.8s infinite;
}

@keyframes scroll-wheel {
  0% {
    transform: translate(-50%, 0);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  80% {
    transform: translate(-50%, 10px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* ---------- Scroll Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.55s var(--ease),
    transform 0.55s var(--ease);
  transition-delay: var(--rd, 0s);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  z-index: 1;
  padding: 120px 5vw;
}
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
}
.head-row {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 56px;
}
.num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--fern);
  font-size: 1.05rem;
}
.title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: -0.01em;
}
.title em {
  font-style: italic;
  color: var(--water);
}

/* ---------- Section Header Enhancements ---------- */
.head-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.head-sub {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fern);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ---------- About Me Editorial & Minimalist ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 64px;
  align-items: start;
}

.about-text .lead {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.3vw, 1.75rem);
  color: #f3f7f4;
  margin-bottom: 22px;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.about-text p {
  color: rgba(220, 230, 222, 0.78);
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Editorial Spec Table / Highlights */
.about-spec-grid {
  display: flex;
  flex-direction: column;
  margin: 36px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.92rem;
  gap: 16px;
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-label {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.spec-val {
  color: #ffffff;
  font-weight: 400;
  text-align: right;
}

.spec-available {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #55efc4;
  font-weight: 500;
}

.spec-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #55efc4;
  box-shadow: 0 0 10px #55efc4;
  animation: pulse-glow 2s infinite ease-in-out;
}

/* Student Mentorship & Training Card */
.about-mentorship-card {
  position: relative;
  background: linear-gradient(
    165deg,
    rgba(22, 32, 26, 0.85) 0%,
    rgba(14, 21, 17, 0.94) 60%,
    rgba(9, 13, 10, 0.98) 100%
  );
  border: 1px solid rgba(168, 198, 134, 0.25);
  border-radius: 18px;
  padding: 24px 22px;
  margin: 32px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.about-mentorship-card:hover {
  transform: translateY(-3px);
  border-color: rgba(168, 198, 134, 0.55);
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.6),
    0 0 24px rgba(123, 160, 91, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.mentorship-card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(168, 198, 134, 0.7) 50%,
    transparent 100%
  );
  opacity: 0.45;
  transition: opacity 0.35s ease;
}

.about-mentorship-card:hover .mentorship-card-glow {
  opacity: 1;
}

.mentorship-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mentorship-icon-box {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 12px;
  background: rgba(123, 160, 91, 0.16);
  border: 1px solid rgba(168, 198, 134, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fern);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.mentorship-titles {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mentorship-kicker {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fern);
}

.mentorship-heading {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.25;
  color: #ffffff;
  margin: 0;
}

.mentorship-desc {
  color: rgba(220, 230, 222, 0.85) !important;
  font-size: 0.92rem !important;
  font-weight: 300 !important;
  line-height: 1.65 !important;
  margin-bottom: 0 !important;
}

.mentorship-desc strong {
  color: var(--ink);
  font-weight: 500;
}

.mentorship-link {
  color: var(--fern);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(168, 198, 134, 0.4);
  font-weight: 500;
  transition: all 0.2s ease;
}

.mentorship-link:hover {
  color: #c4ebb0;
  text-decoration-color: var(--fern);
}

.mentorship-batch-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 4px 0 2px;
}

.mentorship-batch-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 10px 14px;
  transition: all 0.25s ease;
}

.mentorship-batch-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(168, 198, 134, 0.3);
  transform: translateX(4px);
}

.batch-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(123, 160, 91, 0.25);
  border: 1px solid rgba(168, 198, 134, 0.4);
  color: var(--fern);
  white-space: nowrap;
  margin-top: 2px;
}

.batch-badge-sec {
  background: rgba(143, 199, 192, 0.2);
  border-color: rgba(143, 199, 192, 0.4);
  color: var(--water);
}

.batch-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.batch-info strong {
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
}

.batch-info small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.batch-cert-btn {
  margin-left: auto;
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 8px;
  background: rgba(168, 198, 134, 0.12);
  border: 1px solid rgba(168, 198, 134, 0.35);
  color: var(--fern);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.25s var(--ease);
  cursor: pointer;
  flex-shrink: 0;
  text-decoration: none;
}

.batch-cert-btn:hover {
  background: rgba(168, 198, 134, 0.25);
  border-color: rgba(168, 198, 134, 0.7);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(123, 160, 91, 0.3);
}

.batch-cert-btn svg {
  transition: transform 0.2s ease;
}

.batch-cert-btn:hover svg {
  transform: scale(1.12);
}

.mentorship-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}

.mentorship-tags span {
  font-size: 0.74rem;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--water);
  transition: all 0.2s;
}

.about-mentorship-card:hover .mentorship-tags span {
  border-color: rgba(143, 199, 192, 0.3);
  background: rgba(143, 199, 192, 0.08);
}

/* Minimalist Core Tech Stack */
.about-tools-wrap {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tools-label {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fern);
}

.tools-minimal {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.tools-minimal span {
  font-size: 0.82rem;
  padding: 7px 16px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(233, 240, 234, 0.85);
  transition: all 0.25s var(--ease);
  cursor: default;
}

.tools-minimal span:hover {
  color: #ffffff;
  background: rgba(168, 198, 134, 0.12);
  border-color: rgba(168, 198, 134, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Right: Minimalist Luxury Portrait Showcase */
.about-aside {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-portrait-frame {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(12, 17, 14, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition:
    transform 0.4s var(--ease),
    border-color 0.4s,
    box-shadow 0.4s;
}

.about-portrait-frame:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 198, 134, 0.4);
  box-shadow:
    0 32px 75px rgba(0, 0, 0, 0.8),
    0 0 30px rgba(168, 198, 134, 0.12);
}

.portrait-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4.8;
  overflow: hidden;
  background: #0d120f;
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.8s var(--ease);
}

.about-portrait-frame:hover .portrait-img {
  transform: scale(1.03);
}

.portrait-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 75%,
    rgba(10, 14, 11, 0.45) 100%
  );
  pointer-events: none;
}

/* work & experience list */
.work-list {
  display: flex;
  flex-direction: column;
}
.work {
  display: grid;
  grid-template-columns: 56px 1fr auto 30px;
  gap: 26px;
  align-items: center;
  padding: 30px 8px;
  border-top: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease;
}
.work:last-child {
  border-bottom: 1px solid var(--line);
}
.work:hover {
  background: rgba(123, 160, 91, 0.04);
}
.w-no {
  font-family: var(--serif);
  font-style: italic;
  color: var(--fern);
  font-size: 0.95rem;
}
.w-main h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.7rem;
  margin-bottom: 6px;
  transition: color 0.25s;
}
.work:hover .w-main h3 {
  color: var(--fern);
}
.w-heading-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.w-heading-row h3 {
  margin-bottom: 0 !important;
}
.w-role-badge {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--water);
  padding: 3px 12px;
  border-radius: 100px;
  background: rgba(143, 199, 192, 0.1);
  border: 1px solid rgba(143, 199, 192, 0.22);
}
.w-main p {
  color: var(--muted);
  font-weight: 300;
  font-size: 0.92rem;
  max-width: 600px;
  margin-bottom: 12px;
}
.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tags span {
  font-size: 0.72rem;
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid var(--line);
  color: var(--muted);
}
.w-year {
  font-family: var(--serif);
  color: var(--muted);
  font-size: 0.95rem;
  white-space: nowrap;
}
.w-arrow {
  color: var(--water);
  font-size: 1.2rem;
  transition: transform 0.3s var(--ease);
}
.work:hover .w-arrow {
  transform: translate(3px, -3px);
}
.w-logo-badge {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px;
  transition:
    transform 0.3s var(--ease),
    border-color 0.3s,
    background 0.3s;
}
.w-logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}
.work:hover .w-logo-badge {
  transform: scale(1.08);
  border-color: rgba(168, 198, 134, 0.35);
  background: rgba(255, 255, 255, 0.08);
}
/* ---------- Projects Section ---------- */
.project-filters {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}

.project-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  outline: none;
}

.project-filter-btn span {
  font-size: 0.74rem;
  opacity: 0.65;
}

.project-filter-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(168, 198, 134, 0.35);
}

.project-filter-btn.active {
  color: #0c100d;
  background: var(--fern);
  border-color: var(--fern);
  font-weight: 600;
  box-shadow: 0 4px 18px rgba(168, 198, 134, 0.35);
}

.project-filter-btn.active span {
  opacity: 0.85;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  position: relative;
  background: linear-gradient(
    165deg,
    rgba(22, 32, 26, 0.84) 0%,
    rgba(14, 21, 17, 0.92) 55%,
    rgba(9, 13, 10, 0.98) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 20px;
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s,
    box-shadow 0.35s,
    opacity 0.35s;
  overflow: hidden;
}

.project-card.is-hidden {
  display: none !important;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(168, 198, 134, 0.5);
  box-shadow:
    0 24px 55px rgba(0, 0, 0, 0.65),
    0 0 28px rgba(123, 160, 91, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.project-card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(168, 198, 134, 0.7) 50%,
    transparent 100%
  );
  opacity: 0.45;
  transition: opacity 0.35s ease;
}

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

.project-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.project-badge {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fern);
}

.project-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--water);
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(143, 199, 192, 0.09);
  border: 1px solid rgba(143, 199, 192, 0.22);
}

.project-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #55efc4;
  box-shadow: 0 0 6px #55efc4;
  animation: edu-node-pulse 2s infinite ease-in-out;
}

.project-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.project-title {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
  margin: 0;
  transition: color 0.25s;
}

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

.project-desc {
  color: rgba(220, 230, 222, 0.75);
  font-size: 0.86rem;
  font-weight: 300;
  line-height: 1.6;
  margin: 0;
}

.project-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.project-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s var(--ease);
}

.project-btn-primary {
  background: rgba(168, 198, 134, 0.12);
  border: 1px solid rgba(168, 198, 134, 0.35);
  color: var(--fern);
}

.project-btn-primary:hover {
  background: var(--fern);
  color: #0c0f0d;
  box-shadow: 0 4px 16px rgba(168, 198, 134, 0.35);
  transform: translateY(-2px);
}

.project-btn-primary svg {
  transition: transform 0.2s ease;
}

.project-btn-primary:hover svg {
  transform: translate(2px, -2px);
}

.project-btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
}

.project-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  transform: translateY(-2px);
}

.project-tag-action {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 500;
}

@media (max-width: 1040px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Section 04: Packages & Open Source ---------- */
#packages {
  position: relative;
  overflow: hidden;
}

.pkg-ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  opacity: 0.16;
  z-index: 0;
}

.pkg-glow-1 {
  width: 480px;
  height: 480px;
  top: -100px;
  right: -80px;
  background: radial-gradient(circle, rgba(117, 215, 255, 0.45), transparent 70%);
}

.pkg-glow-2 {
  width: 420px;
  height: 420px;
  bottom: -60px;
  left: -60px;
  background: radial-gradient(circle, rgba(168, 198, 134, 0.4), transparent 70%);
}

.package-filters {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}

.pkg-filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pkg-filter-btn span {
  font-size: 0.76rem;
  opacity: 0.75;
}

.pkg-filter-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.22);
}

.pkg-filter-btn.active {
  background: rgba(168, 198, 134, 0.14);
  border-color: rgba(168, 198, 134, 0.5);
  color: var(--fern);
  font-weight: 600;
}

.pkg-filter-btn.active span {
  opacity: 1;
  color: var(--fern);
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.package-card {
  position: relative;
  background: rgba(16, 22, 18, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.35s var(--ease);
  overflow: hidden;
}

.package-card.is-hidden,
.is-hidden {
  display: none !important;
}

.package-card:hover {
  transform: translateY(-5px);
  border-color: rgba(168, 198, 134, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 24px rgba(168, 198, 134, 0.12);
  background: rgba(18, 26, 20, 0.82);
}

.pkg-card-sheen {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  pointer-events: none;
}

.pkg-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.pkg-platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
}

.pkg-pill-flutter {
  background: rgba(2, 125, 253, 0.12);
  border: 1px solid rgba(2, 125, 253, 0.35);
  color: #75d7ff;
}

.pkg-pill-dart {
  background: rgba(0, 180, 216, 0.12);
  border: 1px solid rgba(0, 180, 216, 0.35);
  color: #48cae4;
}

.pkg-pill-nuget {
  background: rgba(0, 120, 212, 0.12);
  border: 1px solid rgba(0, 120, 212, 0.35);
  color: #60a5fa;
}

.pkg-version-pill {
  font-family: monospace;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pkg-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.pkg-title {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
  margin: 0;
  transition: color 0.25s;
}

.package-card:hover .pkg-title {
  color: #ffffff;
}

.pkg-desc {
  color: rgba(220, 230, 222, 0.75);
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.55;
  margin: 0;
}

.pkg-install-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 13, 11, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 6px 10px;
  font-family: monospace;
  font-size: 0.76rem;
  overflow: hidden;
}

.pkg-cmd-prefix {
  color: var(--fern);
  font-weight: 700;
  user-select: none;
}

.pkg-cmd-code {
  color: #e2e8f0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: inherit;
  font-size: inherit;
}

.pkg-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 0.7rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.pkg-copy-btn:hover {
  background: rgba(168, 198, 134, 0.2);
  border-color: rgba(168, 198, 134, 0.5);
  color: var(--fern);
}

.pkg-copy-btn.copied {
  background: rgba(85, 239, 196, 0.2);
  border-color: #55efc4;
  color: #55efc4;
}

.pkg-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pkg-tags span {
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--water);
}

.pkg-actions {
  display: flex;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pkg-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s var(--ease);
}

.pkg-btn-primary {
  background: rgba(168, 198, 134, 0.12);
  border: 1px solid rgba(168, 198, 134, 0.35);
  color: var(--fern);
}

.pkg-btn-primary:hover {
  background: var(--fern);
  color: #0c0f0d;
  box-shadow: 0 4px 16px rgba(168, 198, 134, 0.35);
  transform: translateY(-2px);
}

.pkg-btn-primary svg {
  transition: transform 0.2s ease;
}

.pkg-btn-primary:hover svg {
  transform: translate(2px, -2px);
}

@media (max-width: 1040px) {
  .packages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .packages-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ---------- Qualifications Section ---------- */
#qualifications {
  position: relative;
  overflow: hidden;
}

/* Multi-Layer Ambient Glow Orbs */
.edu-ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.edu-glow-1 {
  top: 20%;
  left: 15%;
  width: 500px;
  height: 350px;
  background: radial-gradient(
    circle,
    rgba(85, 239, 196, 0.09) 0%,
    rgba(123, 160, 91, 0.05) 50%,
    transparent 70%
  );
  animation: float-glow-1 18s ease-in-out infinite alternate;
}

.edu-glow-2 {
  bottom: 10%;
  right: 15%;
  width: 550px;
  height: 380px;
  background: radial-gradient(
    circle,
    rgba(143, 199, 192, 0.08) 0%,
    rgba(168, 85, 247, 0.04) 50%,
    transparent 70%
  );
  animation: float-glow-2 22s ease-in-out infinite alternate;
}

@keyframes float-glow-1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -30px) scale(1.15); }
}

@keyframes float-glow-2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-50px, 25px) scale(1.2); }
}

.edu-scroll-wrapper {
  position: relative;
  width: 100%;
}

/* Horizontal Scroll Container Matching Section Wrap */
.edu-scroll-container {
  position: relative;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 10px 4px 20px;
  cursor: grab;
  scrollbar-width: none;
}

.edu-scroll-container::-webkit-scrollbar {
  display: none;
}

.edu-scroll-container.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.edu-cards-track {
  display: flex;
  gap: 20px;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   EDUCATION CARD COMPONENT (UNIFORM, CLEAN & BALANCED)
   ========================================================================== */
.edu-card {
  flex: 1 1 0;
  min-width: 230px;
  scroll-snap-align: start;
  background: linear-gradient(
    165deg,
    rgba(22, 32, 26, 0.84) 0%,
    rgba(14, 21, 17, 0.92) 55%,
    rgba(9, 13, 10, 0.98) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 20px;
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: 230px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

/* Top iridescent gradient sheen */
.edu-card-sheen {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(168, 198, 134, 0.7) 50%,
    transparent 100%
  );
  opacity: 0.45;
  transition: opacity 0.35s ease;
}

.edu-card:hover {
  transform: translateY(-7px);
  box-shadow:
    0 24px 55px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Card Themes */
/* 1. Emerald (MCA) */
.edu-theme-emerald {
  border-color: rgba(85, 239, 196, 0.2);
}
.edu-theme-emerald:hover {
  border-color: rgba(85, 239, 196, 0.55);
  box-shadow:
    0 24px 55px rgba(0, 0, 0, 0.6),
    0 0 25px rgba(85, 239, 196, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.edu-theme-emerald:hover .edu-card-sheen {
  opacity: 1;
  background: linear-gradient(90deg, transparent, #55efc4, transparent);
}

/* 2. Water / Cyan (BCA) */
.edu-theme-water {
  border-color: rgba(143, 199, 192, 0.2);
}
.edu-theme-water:hover {
  border-color: rgba(143, 199, 192, 0.55);
  box-shadow:
    0 24px 55px rgba(0, 0, 0, 0.6),
    0 0 25px rgba(143, 199, 192, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.edu-theme-water:hover .edu-card-sheen {
  opacity: 1;
  background: linear-gradient(90deg, transparent, #8fc7c0, transparent);
}

/* 3. Amber / Solar (12th Science) */
.edu-theme-amber {
  border-color: rgba(251, 191, 36, 0.2);
}
.edu-theme-amber:hover {
  border-color: rgba(251, 191, 36, 0.55);
  box-shadow:
    0 24px 55px rgba(0, 0, 0, 0.6),
    0 0 25px rgba(251, 191, 36, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.edu-theme-amber:hover .edu-card-sheen {
  opacity: 1;
  background: linear-gradient(90deg, transparent, #fbbf24, transparent);
}

/* 4. Purple / Astral (10th HSLC) */
.edu-theme-purple {
  border-color: rgba(192, 132, 252, 0.2);
}
.edu-theme-purple:hover {
  border-color: rgba(192, 132, 252, 0.55);
  box-shadow:
    0 24px 55px rgba(0, 0, 0, 0.6),
    0 0 25px rgba(192, 132, 252, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.edu-theme-purple:hover .edu-card-sheen {
  opacity: 1;
  background: linear-gradient(90deg, transparent, #c084fc, transparent);
}

/* Card Top Meta */
.edu-card-top-meta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.edu-card-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--fern);
}

.edu-year-badge {
  font-family: var(--serif);
  font-size: 0.9rem;
  color: rgba(233, 240, 234, 0.75);
  padding: 3px 12px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  white-space: nowrap;
}

.active-year {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #55efc4;
  border-color: rgba(85, 239, 196, 0.35);
  background: rgba(85, 239, 196, 0.1);
}

.status-indicator-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #55efc4;
  box-shadow: 0 0 8px #55efc4;
  animation: edu-node-pulse 2s infinite ease-in-out;
}

@keyframes edu-node-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.4);
    opacity: 0.65;
  }
}

/* Card Body (Uniform Acronym & Title Structure) */
.edu-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  flex: 1;
  width: 100%;
}

.edu-acronym {
  display: inline-flex;
  align-items: center;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--water);
  text-transform: uppercase;
}

/* Degree Title */
.edu-title {
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
  margin: 0;
  min-height: 50px;
  display: flex;
  align-items: flex-start;
  transition: color 0.25s;
}

.edu-card:hover .edu-title {
  color: #ffffff;
}

/* Institution Badge (Symmetrical Full-Width Bottom Row) */
.edu-inst-badge {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--water);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s var(--ease);
  margin-top: auto;
}

.edu-ext-arrow {
  opacity: 0.65;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.edu-inst-badge:hover {
  background: rgba(143, 199, 192, 0.16);
  border-color: rgba(143, 199, 192, 0.5);
  color: #ffffff;
  transform: translateY(-1px);
}

.edu-inst-badge:hover .edu-ext-arrow {
  transform: translate(2px, -2px);
  opacity: 1;
}

/* Custom Scroll Progress Bar Wrap */
.edu-scroll-progress-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.edu-scroll-progress-track {
  width: 100%;
  max-width: 320px;
  height: 5px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 100px;
  position: relative;
  overflow: hidden;
}

.edu-scroll-progress-thumb {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, #55efc4, #8fc7c0);
  border-radius: 100px;
  box-shadow: 0 0 12px rgba(85, 239, 196, 0.7);
  transition: transform 0.1s linear, width 0.25s ease;
}

/* ==========================================================================
   MODERN CONTACT HUB SECTION
   ========================================================================== */

.contact-hub-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Status Availability Banner */
.contact-status-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(22, 34, 26, 0.85) 0%,
    rgba(14, 22, 17, 0.95) 100%
  );
  border: 1px solid rgba(85, 239, 196, 0.28);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.status-live-dot {
  width: 10px;
  height: 10px;
  min-width: 10px;
  border-radius: 50%;
  background: #55efc4;
  box-shadow: 0 0 14px #55efc4;
  animation: pulse-glow 2s infinite ease-in-out;
}

.status-banner-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.status-banner-text strong {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.status-banner-text span {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 400;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

/* Contact Card Base */
.contact-card {
  position: relative;
  background: linear-gradient(
    165deg,
    rgba(22, 30, 25, 0.82) 0%,
    rgba(13, 19, 15, 0.92) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 198, 134, 0.45);
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.55),
    0 0 20px rgba(123, 160, 91, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.contact-card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(168, 198, 134, 0.6) 50%,
    transparent 100%
  );
  opacity: 0.3;
  transition: opacity 0.3s ease;
}

.contact-card:hover .contact-card-glow {
  opacity: 1;
}

/* Card Icons */
.contact-card-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: rgba(123, 160, 91, 0.14);
  border: 1px solid rgba(168, 198, 134, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fern);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
}

.contact-card:hover .contact-card-icon {
  background: rgba(123, 160, 91, 0.25);
  border-color: var(--fern);
  color: #ffffff;
  transform: scale(1.05);
}

.contact-card-whatsapp .contact-card-icon {
  color: #25d366;
  background: rgba(37, 211, 102, 0.12);
  border-color: rgba(37, 211, 102, 0.3);
}

.contact-card-whatsapp:hover .contact-card-icon {
  background: rgba(37, 211, 102, 0.25);
  border-color: #25d366;
}

.contact-card-linkedin .contact-card-icon {
  color: #0077b5;
  background: rgba(0, 119, 181, 0.12);
  border-color: rgba(0, 119, 181, 0.3);
}

.contact-card-linkedin:hover .contact-card-icon {
  background: rgba(0, 119, 181, 0.25);
  border-color: #0077b5;
}

.contact-card-github .contact-card-icon {
  color: var(--water);
  background: rgba(143, 199, 192, 0.12);
  border-color: rgba(143, 199, 192, 0.3);
}

.contact-card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fern);
}

.contact-val {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.35;
  word-break: break-word;
}

.contact-desc {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
  font-weight: 300;
}

/* Card Actions */
.contact-card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 6px;
  flex-wrap: wrap;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  text-decoration: none;
}

.contact-btn-primary {
  background: var(--fern);
  color: #0c0f0d;
  border: 1px solid var(--fern);
  box-shadow: 0 4px 14px rgba(168, 198, 134, 0.25);
}

.contact-btn-primary:hover {
  background: #bce094;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(168, 198, 134, 0.4);
}

.contact-btn-copy {
  background: rgba(255, 255, 255, 0.05);
  color: var(--cloud);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-btn-copy:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: translateY(-2px);
}

.contact-btn-copy.copied {
  background: rgba(85, 239, 196, 0.2);
  border-color: #55efc4;
  color: #55efc4;
}

.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(143, 199, 192, 0.1);
  border: 1px solid rgba(143, 199, 192, 0.25);
  color: var(--water);
}

/* Bottom Live Chat Prompt */
.contact-live-chat-prompt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 24px;
  border-radius: 16px;
  background: rgba(16, 23, 18, 0.6);
  border: 1px dashed rgba(168, 198, 134, 0.35);
  margin-top: 10px;
  flex-wrap: wrap;
}

.contact-live-chat-prompt span {
  font-size: 0.92rem;
  color: var(--ink);
  font-weight: 400;
}

.contact-open-chat-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(168, 198, 134, 0.2), rgba(143, 199, 192, 0.2));
  border: 1px solid rgba(168, 198, 134, 0.5);
  color: var(--fern);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.contact-open-chat-btn:hover {
  background: var(--fern);
  color: #0c0f0d;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(123, 160, 91, 0.35);
}

/* footer */
.foot {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 5vw;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 16px;
}

.foot-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.foot-shelf-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.25s var(--ease);
}

.foot-shelf-link:hover {
  color: var(--fern);
  background: rgba(168, 198, 134, 0.1);
  border-color: rgba(168, 198, 134, 0.35);
  transform: translateY(-1px);
}

.foot-shelf-mark {
  color: var(--fern);
  font-family: monospace;
  font-weight: 700;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 1s var(--ease),
    transform 1s var(--ease);
  transition-delay: var(--rd, 0s);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Keyframes ---------- */
@keyframes drift {
  from {
    transform: translateX(-3%);
  }
  to {
    transform: translateX(4%);
  }
}

/* ---------- Responsive ---------- */
/* ---------- Responsive Breakpoints & Fluid Adaptations ---------- */

@media (max-width: 1080px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .wrap {
    padding: 0 4vw;
  }
}

@media (max-width: 960px) {
  .nav-links {
    gap: 20px;
  }
  .nav-links a {
    font-size: 0.86rem;
  }
  .hero-cinematic-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: auto;
  }
  .hero-view-spacer {
    display: none;
  }
  .hero-cinematic-content {
    max-width: 100%;
    align-items: flex-start;
    margin-top: 0;
  }
  .hero-bg-parallax {
    background-position: center center;
  }
  .edu-cards-track .edu-card {
    flex: 0 0 320px;
    width: 320px;
    padding: 24px 20px 20px;
  }
}

@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .about-aside {
    position: static;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  .about-portrait-frame {
    max-width: 380px;
    width: 100%;
    margin: 0 auto;
  }
  .work {
    grid-template-columns: 36px 1fr 24px;
    gap: 14px;
    padding: 22px 18px;
  }
  .w-year {
    display: none;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .cinematic-parallax-container {
    height: 75vh;
    min-height: 480px;
  }
  .cinematic-heading {
    font-size: 2.1rem;
  }
}

@media (max-width: 768px) {
  .burger {
    display: flex;
    z-index: 102;
  }
  .nav-links {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: radial-gradient(
      circle at top right,
      rgba(22, 34, 25, 0.98),
      rgba(9, 13, 10, 0.99) 75%
    );
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 26px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-20px) scale(0.98);
    transition:
      opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
      transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
      visibility 0.35s;
    z-index: 101;
    padding: 40px 20px;
  }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }
  .nav-links a {
    font-family: var(--serif);
    font-size: 1.85rem;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: 0.03em;
    padding: 6px 20px;
    transition: all 0.25s ease;
  }
  .nav-links a:hover {
    color: var(--fern);
    transform: scale(1.06);
  }
  .nav-links a::after {
    display: none;
  }
}

@media (max-width: 680px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .project-card {
    padding: 20px 18px 18px;
  }
  .project-top {
    flex-wrap: wrap;
    gap: 8px;
  }
  .project-filters {
    gap: 8px;
    margin-bottom: 24px;
  }
  .project-filter-btn {
    padding: 6px 14px;
    font-size: 0.8rem;
  }
  .mentorship-batch-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
  }
  .batch-cert-btn {
    margin-left: 0;
    align-self: flex-start;
    margin-top: 2px;
  }
  .edu-cards-track .edu-card {
    flex: 0 0 calc(100vw - 48px);
    width: calc(100vw - 48px);
    max-width: 320px;
    padding: 22px 18px 18px;
  }
  .edu-card-watermark {
    font-size: 4.2rem;
    top: 14px;
    right: 16px;
  }
}

@media (max-width: 620px) {
  .section {
    padding: 70px 5vw;
  }
  .hero.hero-fullwidth-bg {
    padding: 95px 0 55px;
  }
  .hero-name-title {
    font-size: clamp(2.2rem, 8.5vw, 3.2rem);
    white-space: normal;
    line-height: 1.1;
  }
  .hero-nature-desc {
    font-size: 0.95rem;
    line-height: 1.55;
  }
  .hero-actions {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }
  .btn-cinematic-primary,
  .btn-cinematic-ghost {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 12px 20px;
  }
  .hero-micro-stats {
    width: 100%;
    justify-content: center;
    margin-top: 18px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .spec-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 10px 0;
  }
  .spec-val {
    text-align: left;
    font-size: 0.88rem;
  }
  .cinematic-parallax-container {
    height: 70vh;
    min-height: 440px;
  }
  .cinematic-heading {
    font-size: 1.8rem;
  }
  .cinematic-quote {
    font-size: 0.92rem;
  }
  .cinematic-pills {
    flex-direction: column;
    width: 100%;
  }
  .cinematic-pill {
    width: 100%;
    justify-content: center;
  }
  .contact-card {
    padding: 20px 18px;
  }
  .contact-status-banner {
    flex-direction: row;
    align-items: flex-start;
    padding: 14px 16px;
    gap: 12px;
  }
  .status-banner-text {
    font-size: 0.84rem;
  }
  .contact-live-chat-prompt {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
  }
  .contact-open-chat-btn {
    width: 100%;
    justify-content: center;
  }
  .foot {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 24px 5vw;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 60px 4vw;
  }
  .head-row {
    gap: 14px;
    margin-bottom: 28px;
  }
  .head-row .num {
    font-size: 0.9rem;
  }
  .head-row .title {
    font-size: 1.85rem;
  }
  .work {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 18px 16px;
    position: relative;
  }
  .work .w-arrow {
    position: absolute;
    top: 18px;
    right: 18px;
  }
  .w-main h3 {
    font-size: 1.35rem;
    padding-right: 28px;
  }
  .w-heading-row {
    gap: 8px;
  }
  .about-spec-grid {
    padding: 12px 14px;
    border-radius: 14px;
  }
  .about-mentorship-card {
    padding: 18px 16px;
    border-radius: 16px;
  }
  .mentorship-heading {
    font-size: 1.15rem;
  }
  .contact-card {
    padding: 16px 14px;
  }
  .contact-card-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .contact-btn {
    width: 100%;
    justify-content: center;
    padding: 10px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  .mist {
    opacity: 0.25;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .hero-bg-parallax,
  .cinematic-bg-layer {
    transform: none !important;
  }
}

/* ==========================================================================
   FLOATING REALTIME CHATBOT WIDGET
   ========================================================================== */

.chat-widget-wrap {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: var(--sans);
}

/* Floating Trigger Button */
.chat-widget-trigger {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1b2620, #0d1410);
  border: 1px solid rgba(168, 198, 134, 0.35);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.6),
    0 0 20px rgba(123, 160, 91, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.chat-widget-trigger:hover {
  transform: translateY(-3px) scale(1.05);
  border-color: rgba(168, 198, 134, 0.65);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.75),
    0 0 28px rgba(123, 160, 91, 0.45);
}

.chat-widget-trigger .chat-icon-closed,
.chat-widget-trigger .chat-icon-open {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.chat-widget-trigger .chat-icon-closed svg {
  stroke: var(--fern);
  transition: stroke 0.25s;
}

.chat-widget-trigger:hover .chat-icon-closed svg {
  stroke: #ffffff;
}

.chat-widget-trigger .chat-icon-open {
  opacity: 0;
  transform: scale(0.6) rotate(-90deg);
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
}

.chat-widget-trigger.active .chat-icon-closed {
  opacity: 0;
  transform: scale(0.6) rotate(90deg);
}

.chat-widget-trigger.active .chat-icon-open {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* Online Pulse Dot on Trigger */
.chat-pulse-dot {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #55efc4;
  border: 2px solid #0d1410;
  box-shadow: 0 0 8px #55efc4;
}

.chat-pulse-dot::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: #55efc4;
  opacity: 0.6;
  animation: chat-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes chat-ping {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  75%, 100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

/* Unread Badge */
.chat-unread-badge {
  position: absolute;
  top: -4px;
  left: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: #ff7675;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(255, 118, 117, 0.5);
}

.chat-unread-badge.visible {
  display: flex;
}

/* Chat Modal Window */
.chat-window {
  position: absolute;
  bottom: 74px;
  right: 0;
  width: 375px;
  max-width: calc(100vw - 32px);
  height: 520px;
  max-height: calc(100vh - 120px);
  background: rgba(13, 18, 15, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(168, 198, 134, 0.25);
  border-radius: 20px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.8),
    0 0 35px rgba(123, 160, 91, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(0.96);
  transform-origin: bottom right;
  transition:
    opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.35s;
}

.chat-window.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Chat Header */
.chat-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.chat-header-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-avatar {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: visible;
}

.chat-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(168, 198, 134, 0.45);
}

.chat-online-indicator {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #55efc4;
  border: 2px solid #0d1410;
  box-shadow: 0 0 6px #55efc4;
}

.chat-header-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.chat-header-name {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.chat-header-status {
  color: var(--fern);
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.chat-close-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s;
  outline: none;
}

.chat-close-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  transform: scale(1.08);
}

/* Chat Messages Area */
.chat-messages {
  flex: 1;
  padding: 18px 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scroll-behavior: smooth;
}

/* Custom Thin Scrollbar for Chat */
.chat-messages::-webkit-scrollbar {
  width: 4px;
}

.chat-messages::-webkit-scrollbar-track {
  background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
  background: rgba(168, 198, 134, 0.35);
}

/* Message Bubbles */
.chat-msg {
  display: flex;
  flex-direction: column;
  max-width: 82%;
  animation: chat-msg-fade 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes chat-msg-fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-msg.msg-santa {
  align-self: flex-start;
}

.chat-msg.msg-user {
  align-self: flex-end;
}

.msg-bubble {
  padding: 11px 15px;
  border-radius: 16px;
  font-size: 0.88rem;
  line-height: 1.45;
  word-break: break-word;
}

.msg-santa .msg-bubble {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(240, 246, 242, 0.92);
  border-bottom-left-radius: 4px;
}

.msg-user .msg-bubble {
  background: linear-gradient(135deg, rgba(85, 239, 196, 0.22), rgba(123, 160, 91, 0.3));
  border: 1px solid rgba(168, 198, 134, 0.35);
  color: #ffffff;
  border-bottom-right-radius: 4px;
}

.msg-meta {
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 4px;
  padding: 0 4px;
}

.msg-user .msg-meta {
  text-align: right;
}

/* Chat Input Row */
.chat-input-row {
  padding: 12px 14px;
  background: rgba(10, 14, 11, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-input-row input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  padding: 10px 16px;
  color: #ffffff;
  font-size: 0.88rem;
  font-family: inherit;
  outline: none;
  transition: all 0.25s;
}

.chat-input-row input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.chat-input-row input:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(168, 198, 134, 0.55);
  box-shadow: 0 0 12px rgba(123, 160, 91, 0.2);
}

.chat-send-btn {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--fern), #587941);
  border: none;
  color: #0c110e;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  outline: none;
}

.chat-send-btn svg {
  transform: translateX(1px);
}

.chat-send-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(123, 160, 91, 0.45);
  color: #ffffff;
}

.chat-send-btn:active {
  transform: scale(0.95);
}

/* Mobile Responsiveness for Chat */
@media (max-width: 480px) {
  .chat-widget-wrap {
    bottom: 20px;
    right: 20px;
  }
  .chat-window {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100vw;
    max-width: 100vw;
    height: 82vh;
    max-height: 82vh;
    border-radius: 20px 20px 0 0;
    border-bottom: none;
  }
}

