/*-----------------------------------*\
  #style.css — Apple Liquid Glass Edition
  Designer: Claude (Senior Apple-Level UI)
\*-----------------------------------*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=SF+Pro+Display:wght@300;400;500;600;700&display=swap');

/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {

  /* =====================
     LIQUID GLASS PALETTE
     ===================== */

  /* Core backgrounds */
  --bg-deep: hsl(230, 20%, 5%);
  --bg-base: hsl(228, 18%, 8%);
  --bg-elevated: hsl(228, 16%, 11%);
  --bg-surface: hsl(228, 14%, 14%);
  --bg-overlay: hsl(228, 12%, 18%);

  /* Legacy compat aliases */
  --jet: hsl(228, 12%, 20%);
  --onyx: hsl(228, 14%, 14%);
  --eerie-black-1: hsl(228, 16%, 11%);
  --eerie-black-2: hsl(228, 18%, 8%);
  --smoky-black: hsl(230, 20%, 5%);

  /* Liquid Glass surfaces */
  --glass-white: hsla(0, 0%, 100%, 0.06);
  --glass-white-md: hsla(0, 0%, 100%, 0.10);
  --glass-white-lg: hsla(0, 0%, 100%, 0.15);
  --glass-border: hsla(0, 0%, 100%, 0.10);
  --glass-border-md: hsla(0, 0%, 100%, 0.18);
  --glass-border-lg: hsla(0, 0%, 100%, 0.28);
  --glass-inner: hsla(0, 0%, 100%, 0.04);
  --glass-shine: hsla(0, 0%, 100%, 0.08);

  /* Accent — electric violet-blue */
  --accent: hsl(258, 100%, 72%);
  --accent-bright: hsl(248, 100%, 78%);
  --accent-dim: hsl(258, 60%, 55%);
  --accent-glow: hsla(258, 100%, 72%, 0.35);
  --accent-glow-sm: hsla(258, 100%, 72%, 0.15);
  --accent-glow-xs: hsla(258, 100%, 72%, 0.08);

  /* Legacy accent aliases */
  --accent-purple: hsl(258, 100%, 72%);
  --accent-purple-dark: hsl(258, 60%, 55%);

  /* Text */
  --white-1: hsl(0, 0%, 100%);
  --white-2: hsl(210, 20%, 96%);
  --light-gray: hsl(210, 10%, 82%);
  --light-gray-70: hsla(210, 10%, 82%, 0.7);
  --bittersweet-shimmer: hsl(0, 43%, 51%);

  /* Gradients — liquid glass */
  --bg-gradient-onyx: linear-gradient(135deg,
      hsla(228, 20%, 18%, 0.9) 0%,
      hsla(228, 20%, 10%, 0.95) 100%);

  --bg-gradient-jet: linear-gradient(135deg,
      hsla(228, 20%, 16%, 0.5) 0%,
      hsla(228, 20%, 8%, 0.3) 100%),
    hsl(228, 16%, 11%);

  --bg-gradient-purple-1: linear-gradient(135deg,
      hsla(258, 100%, 72%, 0.22) 0%,
      hsla(248, 100%, 78%, 0.08) 60%,
      transparent 100%);

  --bg-gradient-purple-2: linear-gradient(135deg,
      hsla(258, 100%, 72%, 0.12) 0%,
      hsla(248, 100%, 78%, 0.04) 50%),
    hsl(228, 16%, 11%);

  --border-gradient-onyx: linear-gradient(135deg,
      hsla(0, 0%, 100%, 0.14) 0%,
      hsla(0, 0%, 100%, 0.02) 100%);

  --text-gradient-purple: linear-gradient(135deg,
      hsl(258, 100%, 78%),
      hsl(220, 100%, 72%));

  /* ambient background gradient */
  --ambient-gradient: radial-gradient(ellipse 80% 50% at 50% -10%,
      hsla(258, 100%, 60%, 0.12) 0%,
      transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%,
      hsla(220, 100%, 60%, 0.07) 0%,
      transparent 60%);

  /* Typography */
  --ff-poppins: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;

  --fs-1: 24px;
  --fs-2: 18px;
  --fs-3: 17px;
  --fs-4: 16px;
  --fs-5: 15px;
  --fs-6: 14px;
  --fs-7: 13px;
  --fs-8: 11px;

  --fw-300: 300;
  --fw-400: 400;
  --fw-500: 500;
  --fw-600: 600;

  /* Shadows — layered depth */
  --shadow-1: 0 2px 12px hsla(0, 0%, 0%, 0.35),
    0 1px 3px hsla(0, 0%, 0%, 0.2);

  --shadow-2: 0 8px 32px hsla(0, 0%, 0%, 0.3),
    0 2px 8px hsla(0, 0%, 0%, 0.2),
    inset 0 1px 0 hsla(255, 255, 255, 0.06);

  --shadow-3: 0 16px 48px hsla(0, 0%, 0%, 0.4),
    0 4px 12px hsla(0, 0%, 0%, 0.2);

  --shadow-4: 0 24px 60px hsla(0, 0%, 0%, 0.35),
    0 4px 16px hsla(0, 0%, 0%, 0.15);

  --shadow-5: 0 32px 80px hsla(0, 0%, 0%, 0.45),
    0 8px 24px hsla(0, 0%, 0%, 0.25);

  --shadow-glow: 0 0 40px var(--accent-glow),
    0 0 80px hsla(258, 100%, 72%, 0.10);

  --shadow-card: 0 4px 24px hsla(0, 0%, 0%, 0.25),
    0 1px 0 hsla(255, 255, 255, 0.08) inset,
    0 -1px 0 hsla(0, 0%, 0%, 0.2) inset;

  /* Transitions */
  --transition-1: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-2: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* Blur */
  --blur-sm: blur(8px);
  --blur-md: blur(16px);
  --blur-lg: blur(32px);
  --blur-xl: blur(60px);

}


/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

li {
  list-style: none;
}

img,
ion-icon,
a,
button,
time,
span {
  display: block;
}

button {
  font: inherit;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
}

input,
textarea {
  display: block;
  width: 100%;
  background: none;
  font: inherit;
}

::selection {
  background: var(--accent-glow);
  color: var(--white-1);
}

:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--accent-glow);
}

html {
  font-family: var(--ff-poppins);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg-deep);
  background-image: var(--ambient-gradient);
  background-attachment: fixed;
  min-height: 100vh;
}


/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.sidebar,
article {
  position: relative;
  background: var(--glass-white);
  backdrop-filter: var(--blur-md) saturate(180%);
  -webkit-backdrop-filter: var(--blur-md) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 15px;
  box-shadow: var(--shadow-2),
    inset 0 1px 0 var(--glass-shine),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  z-index: 1;
  overflow: hidden;
  transition: border-color var(--transition-1);
}

.sidebar::before,
article::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg,
      hsla(0, 0%, 100%, 0.04) 0%,
      transparent 60%);
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
}

.separator {
  width: 100%;
  height: 1px;
  background: var(--glass-border);
  margin: 16px 0;
}

.icon-box {
  position: relative;
  background: var(--glass-white-md);
  backdrop-filter: var(--blur-sm);
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  color: var(--accent);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-1);
  z-index: 1;
  transition: all var(--transition-1);
}

.icon-box:hover {
  background: var(--glass-white-lg);
  border-color: var(--accent-glow);
  box-shadow: 0 0 16px var(--accent-glow-sm);
}

.icon-box ion-icon {
  --ionicon-stroke-width: 35px;
}

article {
  display: none;
}

article.active {
  display: block;
  animation: articleReveal 0.5s var(--transition-smooth) backwards;
}

@keyframes articleReveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.h2,
.h3,
.h4,
.h5 {
  color: var(--white-2);
  text-transform: capitalize;
  letter-spacing: -0.01em;
}

.h2 {
  font-size: var(--fs-1);
  font-weight: var(--fw-600);
}

.h3 {
  font-size: var(--fs-2);
  font-weight: var(--fw-600);
}

.h4 {
  font-size: var(--fs-4);
  font-weight: var(--fw-500);
}

.h5 {
  font-size: var(--fs-7);
  font-weight: var(--fw-500);
}

.article-title {
  position: relative;
  padding-bottom: 10px;
}

.article-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background: var(--text-gradient-purple);
  border-radius: 3px;
  box-shadow: 0 0 12px var(--accent-glow-sm);
}

.has-scrollbar::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

.has-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}

.has-scrollbar::-webkit-scrollbar-thumb {
  background: var(--glass-border-md);
  border-radius: 4px;
}

.content-card {
  position: relative;
  background: var(--glass-white);
  backdrop-filter: var(--blur-sm);
  padding: 15px;
  padding-top: 45px;
  border-radius: 18px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  z-index: 1;
  transition: all var(--transition-1);
  overflow: hidden;
}

.content-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      hsla(0, 0%, 100%, 0.06) 0%,
      transparent 50%);
  border-radius: inherit;
  pointer-events: none;
}

.content-card:hover {
  border-color: var(--glass-border-md);
  box-shadow: var(--shadow-3);
  transform: translateY(-2px);
}


/*-----------------------------------*\
  #MAIN
\*-----------------------------------*/

main {
  margin: 15px 12px;
  margin-bottom: 100px;
  min-width: 259px;
}


/*-----------------------------------*\
  #SIDEBAR
\*-----------------------------------*/

.sidebar {
  margin-bottom: 15px;
  max-height: 112px;
  overflow: hidden;
  transition: max-height var(--transition-2),
    border-color var(--transition-1);
}

.sidebar.active {
  max-height: 420px;
}

.sidebar-info {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
}

.avatar-box {
  background: var(--glass-white-md);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  transition: all var(--transition-1);
}

.avatar-box:hover {
  border-color: var(--accent-glow);
  box-shadow: 0 0 24px var(--accent-glow-sm);
}

.info-content .name {
  color: var(--white-2);
  font-size: var(--fs-3);
  font-weight: var(--fw-600);
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}

.info-content .title {
  color: var(--light-gray);
  background: var(--glass-white-md);
  backdrop-filter: var(--blur-sm);
  font-size: var(--fs-8);
  font-weight: var(--fw-400);
  width: max-content;
  padding: 4px 14px;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  letter-spacing: 0.02em;
}

.info_more-btn {
  position: absolute;
  top: -15px;
  right: -15px;
  border-radius: 0 20px;
  font-size: 13px;
  color: var(--accent);
  background: var(--glass-white-md);
  backdrop-filter: var(--blur-sm);
  padding: 10px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-1);
  transition: all var(--transition-1);
  z-index: 1;
}

.info_more-btn::before {
  content: none;
}

.info_more-btn:hover,
.info_more-btn:focus {
  background: var(--glass-white-lg);
  border-color: var(--accent-glow);
  color: var(--accent-bright);
  box-shadow: 0 0 20px var(--accent-glow-sm);
}

.info_more-btn span {
  display: none;
}

.sidebar-info_more {
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-2), visibility var(--transition-2);
}

.sidebar.active .sidebar-info_more {
  opacity: 1;
  visibility: visible;
}

.resume-btn,
.resume-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  overflow: hidden;

  /* Glass body */
  background: linear-gradient(135deg,
      hsla(258, 100%, 72%, 0.18) 0%,
      hsla(228, 100%, 65%, 0.10) 50%,
      hsla(258, 80%, 55%, 0.08) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);

  /* Pill border — top edge bright, rest subtle */
  border: 1px solid hsla(258, 100%, 75%, 0.32);
  border-top-color: hsla(258, 100%, 90%, 0.42);

  border-radius: 20px;
  padding: 4px 13px;
  font-size: var(--fs-8);
  font-weight: var(--fw-600);
  letter-spacing: 0.02em;
  color: var(--white-1);
  text-decoration: none;
  text-shadow: 0 0 16px hsla(258, 100%, 85%, 0.5);
  margin: 0;
  width: max-content;

  /* Layered glow shadows */
  box-shadow:
    0 0 18px hsla(258, 100%, 72%, 0.22),
    0 0 40px hsla(258, 100%, 72%, 0.10),
    0 4px 16px hsla(0, 0%, 0%, 0.3),
    inset 0 1px 0 hsla(258, 100%, 90%, 0.22),
    inset 0 -1px 0 hsla(258, 100%, 40%, 0.18);

  transition:
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow var(--transition-1),
    border-color var(--transition-1),
    background var(--transition-1);

  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* Top specular highlight */
.resume-btn::before,
.resume-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  width: 80%;
  height: 50%;
  background: linear-gradient(180deg,
      hsla(258, 100%, 95%, 0.14) 0%,
      transparent 100%);
  border-radius: 24px 24px 0 0;
  pointer-events: none;
  transition: opacity var(--transition-1);
}



/* Hover — lift + intensify glow */
.resume-btn:hover,
.resume-link:hover {
  transform: translateY(-2px) scale(1.02);
  background: linear-gradient(135deg,
      hsla(258, 100%, 72%, 0.28) 0%,
      hsla(228, 100%, 65%, 0.18) 50%,
      hsla(258, 80%, 55%, 0.14) 100%);
  border-color: hsla(258, 100%, 78%, 0.55);
  border-top-color: hsla(258, 100%, 95%, 0.65);
  box-shadow:
    0 0 28px hsla(258, 100%, 72%, 0.40),
    0 0 60px hsla(258, 100%, 72%, 0.18),
    0 8px 24px hsla(0, 0%, 0%, 0.35),
    inset 0 1px 0 hsla(258, 100%, 95%, 0.30),
    inset 0 -1px 0 hsla(258, 100%, 40%, 0.25);
  text-decoration: none;
  color: var(--white-1);
}

/* Press feedback */
.resume-btn:active,
.resume-link:active {
  transform: translateY(0px) scale(0.97);
  transition-duration: 0.1s;
}

.contacts-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.contact-item {
  min-width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-info {
  max-width: calc(100% - 46px);
  width: calc(100% - 46px);
}

.contact-title {
  color: var(--light-gray-70);
  font-size: var(--fs-8);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.contact-info :is(.contact-link, time, address) {
  color: var(--white-2);
  font-size: var(--fs-7);
}

.contact-info address {
  font-style: normal;
}

.social-list {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  padding-bottom: 4px;
  padding-left: 7px;
}

.social-item .social-link {
  color: var(--light-gray-70);
  font-size: 18px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--glass-white);
  border: 1px solid var(--glass-border);
  transition: all var(--transition-1);
}

.social-item .social-link:hover {
  color: var(--accent);
  background: var(--glass-white-md);
  border-color: var(--accent-glow);
  box-shadow: 0 0 16px var(--accent-glow-sm);
  transform: translateY(-2px);
}


/*-----------------------------------*\
  #NAVBAR — Liquid Glass Tab Bar
\*-----------------------------------*/

/* ─────────────────────────────────────────
   NAVBAR — Liquid Glass Pill Tab Bar
   Mobile: floating bottom dock
   Desktop: corner pill strip
───────────────────────────────────────── */

/* Ambient glow halo behind the entire navbar */
.navbar::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg,
      hsla(258, 100%, 72%, 0.18) 0%,
      hsla(220, 100%, 72%, 0.10) 50%,
      transparent 100%);
  z-index: -1;
  pointer-events: none;
  transition: opacity var(--transition-1);
}

/* Bottom glow bloom */
.navbar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 80%;
  height: 2px;
  background: linear-gradient(to right,
      transparent,
      hsla(258, 100%, 72%, 0.6),
      hsla(220, 100%, 72%, 0.6),
      transparent);
  border-radius: 0 0 20px 20px;
  pointer-events: none;
  animation: navGlowPulse 3s ease-in-out infinite;
}

@keyframes navGlowPulse {

  0%,
  100% {
    opacity: 0.5;
    filter: blur(0px);
  }

  50% {
    opacity: 1;
    filter: blur(1px);
  }
}

.navbar {
  position: fixed;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 24px);
  max-width: 480px;

  /* Deep liquid glass */
  background: hsla(228, 25%, 8%, 0.78);
  backdrop-filter: blur(40px) saturate(220%) brightness(1.1);
  -webkit-backdrop-filter: blur(40px) saturate(220%) brightness(1.1);

  /* Layered border: top shine + side glow */
  border: 1px solid var(--glass-border-md);
  border-top-color: hsla(0, 0%, 100%, 0.22);

  border-radius: 28px;

  /* Multi-layer shadow: depth + ambient purple bloom */
  box-shadow:
    0 8px 40px hsla(0, 0%, 0%, 0.45),
    0 2px 8px hsla(0, 0%, 0%, 0.3),
    0 0 60px hsla(258, 100%, 72%, 0.10),
    0 0 120px hsla(258, 100%, 72%, 0.06),
    inset 0 1px 0 hsla(255, 255, 255, 0.14),
    inset 0 -1px 0 hsla(0, 0%, 0%, 0.2);

  z-index: 5;
  transition: box-shadow var(--transition-1),
    background var(--transition-1),
    border-color var(--transition-1);
}

.navbar.scrolled {
  background: hsla(228, 25%, 6%, 0.88);
  border-color: var(--glass-border-md);
  box-shadow:
    0 12px 48px hsla(0, 0%, 0%, 0.55),
    0 0 80px hsla(258, 100%, 72%, 0.12),
    inset 0 1px 0 hsla(255, 255, 255, 0.12),
    inset 0 -1px 0 hsla(0, 0%, 0%, 0.2);
}

.navbar-list {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  padding: 8px 10px;
  gap: 4px;
}

/* ── Each nav button — glass pill ── */
.navbar-link {
  position: relative;
  color: var(--light-gray-70);
  font-size: 11px;
  font-weight: var(--fw-500);
  letter-spacing: 0.02em;

  /* Pill shape */
  padding: 10px 14px;
  border-radius: 20px;
  border: 1px solid transparent;

  /* Glass surface (invisible until hover/active) */
  background: transparent;
  backdrop-filter: none;

  transition:
    color var(--transition-1),
    background var(--transition-1),
    border-color var(--transition-1),
    box-shadow var(--transition-1),
    transform var(--transition-spring);

  /* Remove old underline pseudo */
  overflow: hidden;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* Top specular shine inside each pill (always present, invisible until hover) */
.navbar-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  width: 80%;
  height: 50%;
  background: linear-gradient(180deg,
      hsla(0, 0%, 100%, 0.10) 0%,
      transparent 100%);
  border-radius: 20px 20px 0 0;
  opacity: 0;
  transition: opacity var(--transition-1);
  pointer-events: none;
}

/* Bottom glow dot for active state */
.navbar-link::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 8px var(--accent-glow),
    0 0 16px var(--accent-glow-sm);
  transition: transform var(--transition-spring),
    opacity var(--transition-1);
  opacity: 0;
}

/* ── Hover state ── */
.navbar-link:hover {
  color: var(--white-2);
  background: var(--glass-white-md);
  border-color: var(--glass-border);
  transform: translateY(-1px);
  box-shadow:
    0 4px 16px hsla(0, 0%, 0%, 0.2),
    inset 0 1px 0 hsla(255, 255, 255, 0.10);
}

.navbar-link:hover::before {
  opacity: 1;
}

/* ── Active state — lit glass pill ── */
.navbar-link.active {
  color: var(--white-1);
  font-weight: var(--fw-600);

  /* Active glass: brighter, tinted */
  background: linear-gradient(135deg,
      hsla(258, 100%, 72%, 0.22) 0%,
      hsla(228, 100%, 65%, 0.14) 50%,
      hsla(258, 80%, 55%, 0.10) 100%);

  border-color: hsla(258, 100%, 75%, 0.35);
  border-top-color: hsla(258, 100%, 90%, 0.45);

  transform: translateY(-1px);

  box-shadow:
    /* outer glow */
    0 0 20px hsla(258, 100%, 72%, 0.25),
    0 0 40px hsla(258, 100%, 72%, 0.12),
    /* depth */
    0 4px 16px hsla(0, 0%, 0%, 0.3),
    /* inner top shine */
    inset 0 1px 0 hsla(258, 100%, 90%, 0.25),
    inset 0 -1px 0 hsla(258, 100%, 40%, 0.2);

  text-shadow: 0 0 20px hsla(258, 100%, 85%, 0.6);
}

.navbar-link.active::before {
  opacity: 1;
  background: linear-gradient(180deg,
      hsla(258, 100%, 90%, 0.15) 0%,
      transparent 100%);
}

.navbar-link.active::after {
  transform: translateX(-50%) scale(1);
  opacity: 1;
}

/* ── Press / tap feedback ── */
.navbar-link:active {
  transform: translateY(0px) scale(0.96);
  transition-duration: 0.1s;
}


/*-----------------------------------*\
  #ABOUT
\*-----------------------------------*/

.about .article-title {
  margin-bottom: 15px;
}

.about-text {
  color: var(--light-gray);
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
  line-height: 1.7;
}

.about-text p {
  margin-bottom: 15px;
}


/*-----------------------------------*\
  #STATS — Glass Pill Cards
\*-----------------------------------*/

.stats-section {
  margin-top: 40px;
  padding-bottom: 20px;
}

.stats-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  text-align: center;
  gap: 12px;
  flex-wrap: wrap;
}

.stat {
  flex: 1 1 120px;
  min-width: 100px;
  padding: 20px 12px;
  background: var(--glass-white);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  backdrop-filter: var(--blur-sm);
  transition: all var(--transition-1);
  position: relative;
  overflow: hidden;
}

.stat::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      hsla(0, 0%, 100%, 0.06) 0%,
      transparent 60%);
  border-radius: inherit;
  pointer-events: none;
}

.stat:hover {
  border-color: var(--accent-glow);
  background: var(--glass-white-md);
  box-shadow: 0 0 24px var(--accent-glow-xs);
  transform: translateY(-3px);
}

.stat h3 {
  color: var(--accent-bright);
  font-size: var(--fs-1);
  font-weight: var(--fw-600);
  margin-bottom: 6px;
  text-shadow: 0 0 20px var(--accent-glow-sm);
}

.stat p {
  color: var(--light-gray);
  font-size: var(--fs-7);
  line-height: 1.4;
}


/*-----------------------------------*\
  #SERVICE — Glass Expertise Cards
\*-----------------------------------*/

.service {
  margin-bottom: 35px;
}

.service-title {
  margin-bottom: 20px;
}

.service-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.service-item {
  position: relative;
  background: var(--glass-white);
  backdrop-filter: var(--blur-sm);
  padding: 20px;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card);
  z-index: 1;
  overflow: hidden;
  transition: all var(--transition-1);
}

.service-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      hsla(0, 0%, 100%, 0.05) 0%,
      transparent 50%);
  border-radius: inherit;
  pointer-events: none;
}

.service-item::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
      hsla(258, 100%, 72%, 0.06) 0%,
      transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-1);
  pointer-events: none;
}

.service-item:hover {
  border-color: var(--glass-border-md);
  background: var(--glass-white-md);
  box-shadow: var(--shadow-3),
    0 0 30px var(--accent-glow-xs);
  transform: translateY(-4px);
}

.service-item:hover::after {
  opacity: 1;
}

.service-icon-box {
  margin-bottom: 10px;
}

.service-icon-box img {
  margin: auto;
}

.service-content-box {
  text-align: center;
}

.service-item-title {
  margin-bottom: 8px;
}

.service-item-text {
  color: var(--light-gray);
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
  line-height: 1.7;
}


/*-----------------------------------*\
  #TECHNOLOGY STACK — Liquid Glass Cards
\*-----------------------------------*/

.tech-stack {
  margin-bottom: 30px;
}

.tech-stack-title {
  margin-bottom: 20px;
}

.tech-stack-slider {
  overflow-x: auto;
  padding-bottom: 12px;
  cursor: grab;
  user-select: none;
}

.tech-stack-slider:active {
  cursor: grabbing;
}

.tech-stack-slider::-webkit-scrollbar {
  height: 3px;
}

.tech-stack-slider::-webkit-scrollbar-track {
  background: transparent;
}

.tech-stack-slider::-webkit-scrollbar-thumb {
  background: var(--glass-border-md);
  border-radius: 10px;
}

.tech-cards-slider {
  display: flex;
  gap: 12px;
  padding: 4px 2px 8px;
}

/* ✦ THE STAR: Liquid Glass Tech Card */
.tech-card {
  position: relative;
  min-width: 130px;
  background: var(--glass-white);
  backdrop-filter: var(--blur-md) saturate(160%);
  -webkit-backdrop-filter: var(--blur-md) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 20px 12px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all var(--transition-spring);
  overflow: hidden;
  cursor: default;

  /* Layered depth */
  box-shadow:
    0 2px 8px hsla(0, 0%, 0%, 0.25),
    0 1px 0 hsla(255, 255, 255, 0.07) inset,
    0 -1px 0 hsla(0, 0%, 0%, 0.15) inset;
}

/* Top shine edge — iOS glass specular */
.tech-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg,
      hsla(0, 0%, 100%, 0.09) 0%,
      hsla(0, 0%, 100%, 0.02) 50%,
      transparent 100%);
  border-radius: 20px 20px 0 0;
  pointer-events: none;
}

/* Bottom reflection edge */
.tech-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(0deg,
      hsla(0, 0%, 0%, 0.15) 0%,
      transparent 100%);
  border-radius: 0 0 20px 20px;
  pointer-events: none;
}

.tech-card:hover {
  background: var(--glass-white-md);
  border-color: var(--glass-border-lg);
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 20px 48px hsla(0, 0%, 0%, 0.35),
    0 8px 16px hsla(0, 0%, 0%, 0.2),
    0 0 30px var(--accent-glow-xs),
    0 1px 0 hsla(255, 255, 255, 0.12) inset;
}

/* Accent glow pulse on hover */
.tech-card:hover .tech-logo {
  filter: drop-shadow(0 0 12px var(--accent-glow-sm));
  transform: scale(1.1);
}

.tech-logo {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all var(--transition-1);
}

.tech-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: filter var(--transition-1);
}

.tech-info h4 {
  color: var(--white-2);
  font-size: var(--fs-7);
  font-weight: var(--fw-500);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.tech-level {
  color: var(--light-gray-70);
  font-size: var(--fs-8);
  font-weight: var(--fw-400);
  letter-spacing: 0.02em;
}


/*-----------------------------------*\
  #ACHIEVEMENTS
\*-----------------------------------*/

.achievements-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .achievements-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.achievement-card {
  position: relative;
  background: var(--glass-white);
  backdrop-filter: var(--blur-sm);
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card);
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all var(--transition-1);
  overflow: hidden;
}

.achievement-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      hsla(0, 0%, 100%, 0.05) 0%,
      transparent 50%);
  border-radius: inherit;
  pointer-events: none;
}

.achievement-card:hover {
  transform: translateY(-5px);
  border-color: var(--glass-border-md);
  background: var(--glass-white-md);
  box-shadow: var(--shadow-3),
    0 0 24px var(--accent-glow-xs);
}

.achievement-icon-box {
  background: var(--glass-white-md);
  color: var(--accent);
  font-size: 28px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 0 16px var(--accent-glow-xs);
  flex-shrink: 0;
  transition: all var(--transition-1);
}

.achievement-card:hover .achievement-icon-box {
  box-shadow: 0 0 24px var(--accent-glow-sm);
  border-color: var(--accent-glow);
}

.achievement-title {
  margin-bottom: 5px;
}

.achievement-issuer {
  color: var(--light-gray-70);
  font-size: var(--fs-7);
  margin-bottom: 12px;
}

.achievement-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.skill-tag {
  background: var(--accent-glow-xs);
  color: var(--accent);
  border: 1px solid var(--accent-glow-sm);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: var(--fw-500);
  letter-spacing: 0.02em;
}

.achievement-link {
  color: var(--accent);
  font-size: var(--fs-7);
  font-weight: var(--fw-600);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all var(--transition-1);
}

.achievement-link:hover {
  gap: 8px;
  text-decoration: none;
  text-shadow: 0 0 12px var(--accent-glow-sm);
}


/*-----------------------------------*\
  #AWARENESS CARDS
\*-----------------------------------*/

.awareness-intro {
  margin-bottom: 28px;
}

.awareness-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 580px) {
  .awareness-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.awareness-card {
  position: relative;
  background: var(--glass-white);
  backdrop-filter: var(--blur-sm);
  padding: 28px;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card);
  z-index: 1;
  height: 100%;
  transition: all var(--transition-1);
  overflow: hidden;
}

.awareness-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      hsla(0, 0%, 100%, 0.05) 0%,
      transparent 55%);
  border-radius: inherit;
  pointer-events: none;
}

.awareness-card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border-md);
  background: var(--glass-white-md);
  box-shadow: var(--shadow-3);
}

.awareness-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.awareness-card-header ion-icon {
  color: var(--accent);
  font-size: 26px;
  filter: drop-shadow(0 0 8px var(--accent-glow-sm));
}

.awareness-card-title {
  color: var(--white-1);
  font-size: var(--fs-4);
  font-weight: var(--fw-600);
}

.awareness-divider {
  width: 100%;
  height: 1px;
  background: var(--glass-border);
  margin-bottom: 22px;
}

.awareness-card-text {
  color: var(--light-gray);
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
  line-height: 1.7;
  margin-bottom: 22px;
}

.awareness-card-tip {
  padding: 16px 20px;
  border-radius: 14px;
  font-size: var(--fs-6);
  line-height: 1.6;
  margin-bottom: 22px;
  border-left: 3px solid transparent;
  backdrop-filter: var(--blur-sm);
}

.awareness-card-tip.alert {
  background: hsla(0, 40%, 15%, 0.4);
  color: #c8c8d8;
  border-left-color: hsl(0, 80%, 60%);
  border-radius: 0 14px 14px 0;
}

.awareness-card-tip.info {
  background: var(--accent-glow-xs);
  color: #c8c8d8;
  border-left-color: var(--accent);
  border-radius: 0 14px 14px 0;
}

.awareness-card-btn {
  background: var(--glass-white);
  color: var(--accent);
  border: 1px solid var(--glass-border-md);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: var(--fs-7);
  font-weight: var(--fw-600);
  transition: all var(--transition-1);
  margin-top: auto;
  display: inline-block;
  backdrop-filter: var(--blur-sm);
}

.awareness-card-btn:hover {
  background: var(--glass-white-md);
  border-color: var(--accent-glow);
  box-shadow: 0 0 20px var(--accent-glow-sm);
  transform: translateY(-1px);
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
}

.pagination button {
  background: var(--glass-white);
  backdrop-filter: var(--blur-sm);
  color: var(--white-2);
  font-size: var(--fs-7);
  padding: 10px 20px;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-1);
  box-shadow: var(--shadow-1);
}

.pagination button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.pagination button:not(:disabled):hover {
  color: var(--accent);
  background: var(--glass-white-md);
  border-color: var(--accent-glow);
  box-shadow: 0 0 16px var(--accent-glow-xs);
}

.page-info {
  color: var(--light-gray);
  font-size: var(--fs-7);
  display: flex;
  align-items: center;
  gap: 5px;
}


/*-----------------------------------*\
  #PROJECT MODAL
\*-----------------------------------*/

.modal-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
  overscroll-behavior: contain;
  z-index: 20;
  pointer-events: none;
  visibility: hidden;
}

.modal-container::-webkit-scrollbar {
  display: none;
}

.modal-container.active {
  pointer-events: all;
  visibility: visible;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: hsla(228, 30%, 3%, 0.85);
  backdrop-filter: var(--blur-sm);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
  transition: var(--transition-1);
}

.overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.testimonials-modal,
.projects-modal {
  background: var(--bg-elevated);
  backdrop-filter: var(--blur-lg) saturate(180%);
  position: relative;
  padding: 20px;
  margin: 15px 12px;
  border: 1px solid var(--glass-border-md);
  border-radius: 20px;
  box-shadow: var(--shadow-5),
    0 0 60px hsla(0, 0%, 0%, 0.3),
    inset 0 1px 0 var(--glass-shine);
  transform: scale(0.96) translateY(8px);
  opacity: 0;
  transition: all var(--transition-smooth);
  z-index: 2;
}

.modal-container.active .testimonials-modal,
.modal-container.active .projects-modal {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--glass-white-md);
  backdrop-filter: var(--blur-sm);
  color: var(--white-2);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  transition: all var(--transition-1);
  z-index: 102;
}

.modal-close-btn:hover {
  background: var(--glass-white-lg);
  border-color: var(--glass-border-md);
  transform: scale(1.1);
}

.modal-close-btn ion-icon {
  --ionicon-stroke-width: 50px;
}

.modal-title {
  margin-bottom: 6px;
}

.modal-short-desc {
  color: var(--light-gray);
  font-size: var(--fs-6);
  margin-bottom: 16px;
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.modal-tag {
  background: var(--accent-glow-xs);
  color: var(--accent);
  border: 1px solid var(--accent-glow-sm);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: var(--fw-500);
}

.modal-detail-section {
  margin-bottom: 22px;
}

.modal-detail-section h3 {
  color: var(--white-2);
  font-size: var(--fs-6);
  font-weight: var(--fw-600);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.modal-detail-section p {
  color: var(--light-gray);
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
  line-height: 1.7;
}

.tools-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.modal-divider {
  height: 1px;
  background: var(--glass-border);
  margin: 20px 0;
}

.modal-contact-link {
  color: var(--accent);
  font-size: var(--fs-6);
  font-weight: var(--fw-600);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-1);
}

.modal-contact-link:hover {
  gap: 10px;
  text-shadow: 0 0 12px var(--accent-glow-sm);
}


/*-----------------------------------*\
  #TESTIMONIALS
\*-----------------------------------*/

.testimonials {
  margin-bottom: 30px;
}

.testimonials-title {
  margin-bottom: 20px;
}

.testimonials-list {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 15px;
  margin: 0 -15px;
  padding: 25px 15px;
  padding-bottom: 35px;
  overflow-x: auto;
  scroll-behavior: smooth;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
}

.testimonials-item {
  min-width: 100%;
  scroll-snap-align: center;
}

.testimonials-avatar-box {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(15px, -25px);
  background: var(--glass-white-md);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  box-shadow: var(--shadow-1);
}

.testimonials-item-title {
  margin-bottom: 7px;
}

.testimonials-text {
  color: var(--light-gray);
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
  line-height: 1.6;
  display: -webkit-box;
  line-clamp: 4;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.modal-avatar-box {
  background: var(--glass-white-md);
  width: max-content;
  border-radius: 14px;
  border: 1px solid var(--glass-border);
  margin-bottom: 15px;
  box-shadow: var(--shadow-1);
}

.modal-img-wrapper>img {
  display: none;
}


/*-----------------------------------*\
  #CLIENTS
\*-----------------------------------*/

.clients {
  margin-bottom: 15px;
}

.clients-list {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 15px;
  margin: 0 -15px;
  padding: 25px;
  padding-bottom: 25px;
  overflow-x: auto;
  scroll-behavior: smooth;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scroll-padding-inline: 25px;
}

.clients-item {
  min-width: 50%;
  scroll-snap-align: start;
}

.clients-item img {
  width: 100%;
  filter: grayscale(1) brightness(0.7);
  transition: filter var(--transition-1);
}

.clients-item img:hover {
  filter: grayscale(0) brightness(1);
}


/*-----------------------------------*\
  #RESUME / EXPERIENCE
\*-----------------------------------*/

.article-title {
  margin-bottom: 30px;
}

.timeline {
  margin-bottom: 30px;
}

.timeline .title-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.timeline-list {
  font-size: var(--fs-6);
  margin-left: 45px;
}

.timeline-item {
  position: relative;
}

.timeline-item:not(:last-child) {
  margin-bottom: 20px;
}

.timeline-item-title {
  font-size: var(--fs-6);
  line-height: 1.3;
  margin-bottom: 7px;
}

.timeline-list span {
  color: var(--accent-dim);
  font-weight: var(--fw-400);
  line-height: 1.6;
}

.timeline-item:not(:last-child)::before {
  content: "";
  position: absolute;
  top: -25px;
  left: -30px;
  width: 1px;
  height: calc(100% + 50px);
  background: var(--glass-border-md);
}

.timeline-item::after {
  content: "";
  position: absolute;
  top: 5px;
  left: -33px;
  height: 6px;
  width: 6px;
  background: var(--text-gradient-purple);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-glow-sm),
    0 0 0 3px var(--accent-glow-xs);
}

.timeline-text {
  color: var(--light-gray);
  font-weight: var(--fw-300);
  line-height: 1.6;
}


/*-----------------------------------*\
  #SKILLS
\*-----------------------------------*/

.skills-title {
  margin-bottom: 20px;
}

.skills-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.skills-subtitle {
  color: var(--white-2);
  margin-bottom: 15px;
  font-weight: var(--fw-600);
  font-size: var(--fs-5);
}

.skills-list {
  background: var(--glass-white);
  backdrop-filter: var(--blur-sm);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.skills-list::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      hsla(0, 0%, 100%, 0.04) 0%,
      transparent 50%);
  pointer-events: none;
}

.skills-item:not(:last-child) {
  margin-bottom: 15px;
}

.skill .title-wrapper {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
}

.skill .title-wrapper data {
  color: var(--light-gray);
  font-size: var(--fs-7);
  font-weight: var(--fw-300);
  margin-left: auto;
}

.skill-progress-bg {
  background: var(--glass-border);
  width: 100%;
  height: 6px;
  border-radius: 10px;
  overflow: hidden;
}

.skill-progress-fill {
  background: var(--text-gradient-purple);
  height: 100%;
  border-radius: inherit;
  box-shadow: 0 0 8px var(--accent-glow-sm);
  animation: fillProgress 1.2s var(--transition-smooth) backwards;
}

@keyframes fillProgress {
  from {
    width: 0 !important;
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}


/*-----------------------------------*\
  #PORTFOLIO
\*-----------------------------------*/

.filter-list {
  display: none;
}

.filter-select-box {
  position: relative;
  margin-bottom: 25px;
}

.filter-select {
  background: var(--glass-white);
  backdrop-filter: var(--blur-sm);
  color: var(--light-gray);
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
  transition: all var(--transition-1);
}

.filter-select:hover {
  border-color: var(--glass-border-md);
}

.filter-select.active .select-icon {
  transform: rotate(0.5turn);
}

.select-list {
  background: var(--bg-elevated);
  backdrop-filter: var(--blur-md);
  position: absolute;
  top: calc(100% + 6px);
  width: 100%;
  padding: 6px;
  border: 1px solid var(--glass-border-md);
  border-radius: 14px;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.15s ease-in-out;
  box-shadow: var(--shadow-3);
}

.filter-select.active+.select-list {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.select-item button {
  background: transparent;
  color: var(--light-gray);
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
  text-transform: capitalize;
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  transition: all var(--transition-1);
}

.select-item button:hover {
  background: var(--glass-white);
  color: var(--white-2);
}

.project-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 10px;
}

.project-item {
  display: none;
}

.project-item.active {
  display: block;
  animation: scaleUp 0.3s var(--transition-spring) forwards;
}

@keyframes scaleUp {
  from {
    transform: scale(0.92);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.project-item>a {
  width: 100%;
}

.project-img {
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 15px;
}

.project-img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 1;
  transition: var(--transition-1);
}

.project-item>a:hover .project-img::before {
  background: hsla(228, 30%, 5%, 0.6);
}

.project-item-icon-box {
  --scale: 0.8;
  background: var(--glass-white-md);
  backdrop-filter: var(--blur-sm);
  color: var(--accent);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(var(--scale));
  font-size: 20px;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--glass-border);
  opacity: 0;
  z-index: 1;
  transition: all var(--transition-1);
}

.project-item>a:hover .project-item-icon-box {
  --scale: 1;
  opacity: 1;
}

.project-item-icon-box ion-icon {
  --ionicon-stroke-width: 50px;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-2);
}

.project-item>a:hover img {
  transform: scale(1.06);
}

.project-title,
.project-category {
  margin-left: 10px;
}

.project-title {
  color: var(--white-2);
  font-size: var(--fs-5);
  font-weight: var(--fw-500);
  text-transform: capitalize;
  line-height: 1.3;
}

.project-category {
  color: var(--light-gray-70);
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
}


/*-----------------------------------*\
  #BLOG
\*-----------------------------------*/

.blog-posts {
  margin-bottom: 10px;
}

.blog-posts-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.blog-post-item>a {
  position: relative;
  background: var(--glass-white);
  backdrop-filter: var(--blur-sm);
  height: 100%;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card);
  border-radius: 18px;
  z-index: 1;
  transition: all var(--transition-1);
  overflow: hidden;
}

.blog-post-item>a:hover {
  border-color: var(--glass-border-md);
  transform: translateY(-4px);
  box-shadow: var(--shadow-3);
}

.blog-banner-box {
  width: 100%;
  height: 200px;
  border-radius: 14px;
  overflow: hidden;
}

.blog-banner-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-2);
}

.blog-post-item>a:hover .blog-banner-box img {
  transform: scale(1.05);
}

.blog-content {
  padding: 15px;
}

.blog-meta {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
}

.blog-meta :is(.blog-category, time) {
  color: var(--light-gray-70);
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
}

.blog-meta .dot {
  background: var(--light-gray-70);
  width: 3px;
  height: 3px;
  border-radius: 50%;
}

.blog-item-title {
  margin-bottom: 10px;
  line-height: 1.3;
  transition: color var(--transition-1);
}

.blog-post-item>a:hover .blog-item-title {
  color: var(--accent);
}

.blog-text {
  color: var(--light-gray);
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
  line-height: 1.6;
}


/*-----------------------------------*\
  #CONTACT
\*-----------------------------------*/

.mapbox {
  position: relative;
  height: 250px;
  width: 100%;
  border-radius: 18px;
  margin-bottom: 30px;
  border: 1px solid var(--glass-border);
  overflow: hidden;
}

.mapbox figure {
  height: 100%;
}

.mapbox iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(1) invert(1);
}

.contact-form {
  margin-bottom: 10px;
}

.form-title {
  margin-bottom: 20px;
}

.input-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-input {
  color: var(--white-2);
  font-size: var(--fs-6);
  font-weight: var(--fw-400);
  padding: 13px 18px;
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  outline: none;
  background: var(--glass-white);
  backdrop-filter: var(--blur-sm);
  transition: all var(--transition-1);
}

.form-input::placeholder {
  color: var(--light-gray-70);
  font-weight: var(--fw-400);
}

.form-input:focus {
  border-color: var(--accent-glow);
  background: var(--glass-white-md);
  box-shadow: 0 0 0 3px var(--accent-glow-xs),
    0 0 20px var(--accent-glow-xs);
}

textarea.form-input {
  min-height: 100px;
  height: 120px;
  max-height: 200px;
  resize: vertical;
  margin-bottom: 20px;
}

textarea.form-input::-webkit-resizer {
  display: none;
}

.form-input:focus:invalid {
  border-color: var(--bittersweet-shimmer);
  box-shadow: 0 0 0 3px hsla(0, 43%, 51%, 0.15);
}

.form-btn {
  position: relative;
  width: 100%;
  background: var(--glass-white-md);
  backdrop-filter: var(--blur-sm);
  color: var(--accent);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 14px;
  border: 1px solid var(--glass-border-md);
  font-size: var(--fs-6);
  text-transform: capitalize;
  box-shadow: var(--shadow-2);
  transition: all var(--transition-1);
}

.form-btn::before {
  content: none;
}

.form-btn:hover {
  background: var(--glass-white-lg);
  border-color: var(--accent-glow);
  box-shadow: 0 0 30px var(--accent-glow-sm),
    var(--shadow-2);
  transform: translateY(-1px);
}

.form-btn ion-icon {
  font-size: 16px;
}

.form-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-btn:disabled:hover {
  background: var(--glass-white-md);
  border-color: var(--glass-border-md);
  box-shadow: var(--shadow-2);
  transform: none;
}


/*-----------------------------------*\
  #SCROLL REVEAL ANIMATIONS
\*-----------------------------------*/

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--transition-smooth),
    transform 0.7s var(--transition-smooth);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-delay="1"] {
  transition-delay: 0.1s;
}

[data-reveal-delay="2"] {
  transition-delay: 0.2s;
}

[data-reveal-delay="3"] {
  transition-delay: 0.3s;
}

[data-reveal-delay="4"] {
  transition-delay: 0.4s;
}


/*-----------------------------------*\
  #RESPONSIVE
\*-----------------------------------*/

/* 450px+ */
@media (min-width: 450px) {
  .clients-item {
    min-width: calc(33.33% - 10px);
  }

  .project-img,
  .blog-banner-box {
    height: auto;
  }
}


/* 580px+ */
@media (min-width: 580px) {
  :root {
    --fs-1: 32px;
    --fs-2: 24px;
    --fs-3: 26px;
    --fs-4: 18px;
    --fs-6: 15px;
    --fs-7: 15px;
    --fs-8: 12px;
  }

  .sidebar,
  article {
    width: 520px;
    margin-inline: auto;
    padding: 30px;
  }

  .article-title {
    font-weight: var(--fw-600);
    padding-bottom: 15px;
  }

  .article-title::after {
    width: 40px;
    height: 4px;
  }

  .icon-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 18px;
  }

  main {
    margin-top: 60px;
    margin-bottom: 100px;
  }

  .sidebar {
    max-height: 180px;
    margin-bottom: 30px;
  }

  .sidebar.active {
    max-height: 584px;
  }

  .sidebar-info {
    gap: 25px;
  }

  .avatar-box {
    border-radius: 28px;
  }

  .avatar-box img {
    width: 120px;
  }

  .info-content .name {
    margin-bottom: 15px;
  }

  .info-content .title {
    padding: 5px 18px;
  }

  .info_more-btn {
    top: -30px;
    right: -30px;
    padding: 10px 15px;
  }

  .info_more-btn span {
    display: block;
    font-size: var(--fs-8);
  }

  .info_more-btn ion-icon {
    display: none;
  }

  .separator {
    margin: 32px 0;
  }

  .contacts-list {
    gap: 20px;
  }

  .contact-info {
    max-width: calc(100% - 64px);
    width: calc(100% - 64px);
  }

  .navbar {
    max-width: 560px;
    border-radius: 32px;
    bottom: 16px;
  }

  .navbar-list {
    gap: 6px;
    padding: 8px 14px;
  }

  .navbar-link {
    font-size: 12px;
    padding: 10px 16px;
  }

  .about .article-title {
    margin-bottom: 20px;
  }

  .about-text {
    margin-bottom: 40px;
  }

  .service-item {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 18px;
    padding: 28px;
  }

  .service-icon-box {
    margin-bottom: 0;
    margin-top: 5px;
  }

  .service-content-box {
    text-align: left;
  }

  .testimonials-title {
    margin-bottom: 25px;
  }

  .testimonials-list {
    gap: 30px;
    margin: 0 -30px;
    padding: 30px;
    padding-bottom: 35px;
  }

  .content-card {
    padding: 30px;
    padding-top: 25px;
  }

  .testimonials-avatar-box {
    transform: translate(30px, -30px);
    border-radius: 20px;
  }

  .testimonials-avatar-box img {
    width: 80px;
  }

  .testimonials-item-title {
    margin-bottom: 10px;
    margin-left: 95px;
  }

  .testimonials-text {
    line-clamp: 2;
    -webkit-line-clamp: 2;
  }

  .modal-container {
    padding: 20px;
  }

  .testimonials-modal {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    gap: 25px;
    padding: 30px;
    border-radius: 24px;
  }

  .modal-img-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .modal-avatar-box {
    border-radius: 18px;
    margin-bottom: 0;
  }

  .modal-avatar-box img {
    width: 65px;
  }

  .modal-img-wrapper>img {
    display: block;
    flex-grow: 1;
    width: 35px;
  }

  .clients-list {
    gap: 50px;
    margin: 0 -30px;
    padding: 45px;
    scroll-padding-inline: 45px;
  }

  .clients-item {
    min-width: calc(33.33% - 35px);
  }

  .timeline-list {
    margin-left: 65px;
  }

  .timeline-item:not(:last-child)::before {
    left: -40px;
  }

  .timeline-item::after {
    height: 8px;
    width: 8px;
    left: -43px;
  }

  .skills-item:not(:last-child) {
    margin-bottom: 25px;
  }

  .project-img,
  .blog-banner-box {
    border-radius: 16px;
  }

  .blog-posts-list {
    gap: 30px;
  }

  .blog-content {
    padding: 25px;
  }

  .mapbox {
    height: 380px;
    border-radius: 18px;
  }

  .input-wrapper {
    gap: 30px;
    margin-bottom: 30px;
  }

  .form-input {
    padding: 15px 20px;
  }

  textarea.form-input {
    margin-bottom: 30px;
  }

  .form-btn {
    --fs-6: 16px;
    padding: 16px 20px;
  }

  .form-btn ion-icon {
    font-size: 18px;
  }
}


/* 768px+ */
@media (min-width: 768px) {

  .sidebar,
  article {
    width: 700px;
  }

  .has-scrollbar::-webkit-scrollbar-button {
    width: 100px;
  }

  .contacts-list {
    grid-template-columns: 1fr 1fr;
    gap: 30px 15px;
  }

  .navbar-link {
    --fs-8: 15px;
  }

  .testimonials-modal {
    gap: 35px;
    max-width: 680px;
  }

  .modal-avatar-box img {
    width: 80px;
  }

  .article-title {
    padding-bottom: 20px;
  }

  .filter-select-box {
    display: none;
  }

  .filter-list {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 25px;
    padding-left: 5px;
    margin-bottom: 30px;
  }

  .filter-item button {
    color: var(--light-gray);
    font-size: var(--fs-5);
    transition: color var(--transition-1);
  }

  .filter-item button:hover {
    color: var(--light-gray-70);
  }

  .filter-item button.active {
    color: var(--accent);
  }

  .project-list,
  .blog-posts-list {
    grid-template-columns: 1fr 1fr;
  }

  .input-wrapper {
    grid-template-columns: 1fr 1fr;
  }

  .form-btn {
    width: max-content;
    margin-left: auto;
  }
}


/* 1024px+ */
@media (min-width: 1024px) {
  :root {
    --shadow-1: -4px 8px 24px hsla(0, 0%, 0%, 0.125);
    --shadow-2: 0 16px 30px hsla(0, 0%, 0%, 0.125);
    --shadow-3: 0 16px 40px hsla(0, 0%, 0%, 0.125);
  }

  .sidebar,
  article {
    width: 950px;
    box-shadow: var(--shadow-5);
  }

  main {
    margin-bottom: 60px;
  }

  .main-content {
    position: relative;
    width: max-content;
    margin: auto;
  }

  .navbar {
    position: absolute;
    bottom: auto;
    top: 0;
    left: auto;
    right: 0;
    transform: none;
    width: max-content;
    max-width: none;
    border-radius: 0 24px 0 24px;
    padding: 0;
    bottom: auto;

    background: hsla(228, 25%, 7%, 0.80);
    backdrop-filter: blur(40px) saturate(220%);
    -webkit-backdrop-filter: blur(40px) saturate(220%);

    border: 1px solid var(--glass-border-md);
    border-top: none;
    border-right: none;

    box-shadow:
      0 8px 40px hsla(0, 0%, 0%, 0.35),
      0 0 60px hsla(258, 100%, 72%, 0.08),
      inset 0 -1px 0 hsla(255, 255, 255, 0.08),
      inset 1px 0 0 hsla(255, 255, 255, 0.06);
  }

  .navbar-list {
    gap: 4px;
    padding: 10px 16px;
    flex-wrap: nowrap;
  }

  .navbar-link {
    font-size: 13px;
    font-weight: var(--fw-500);
    padding: 9px 16px;
  }

  .service-list {
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px;
  }

  .testimonials-item {
    min-width: calc(50% - 15px);
  }

  .clients-item {
    min-width: calc(25% - 38px);
  }

  .project-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .skills-container {
    grid-template-columns: 1fr 1fr;
  }

  .skill {
    margin-bottom: 20px;
  }

  .blog-banner-box {
    height: 230px;
  }
}


/* 1250px+ */
@media (min-width: 1250px) {
  body::-webkit-scrollbar {
    width: 16px;
  }

  body::-webkit-scrollbar-track {
    background: var(--bg-deep);
  }

  body::-webkit-scrollbar-thumb {
    border: 4px solid var(--bg-deep);
    background: var(--glass-border-md);
    border-radius: 16px;
  }

  body::-webkit-scrollbar-thumb:hover {
    background: var(--glass-border-lg);
  }

  body::-webkit-scrollbar-button {
    height: 40px;
  }

  .sidebar,
  article {
    width: auto;
  }

  article {
    min-height: 100%;
  }

  main {
    max-width: 1200px;
    margin-inline: auto;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 25px;
  }

  .main-content {
    min-width: 75%;
    width: 75%;
    margin: 0;
  }

  .sidebar {
    position: sticky;
    top: 60px;
    max-height: max-content;
    height: 100%;
    margin-bottom: 0;
    padding-top: 60px;
    z-index: 1;
  }

  .sidebar-info {
    flex-direction: column;
  }

  .avatar-box img {
    width: 150px;
  }

  .info-content .name {
    white-space: nowrap;
    text-align: center;
  }

  .info-content .title {
    margin: auto;
  }

  .info_more-btn {
    display: none;
  }

  .sidebar-info_more {
    opacity: 1;
    visibility: visible;
  }

  .contacts-list {
    grid-template-columns: 1fr;
  }

  .contact-info :is(.contact-link) {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .contact-info :is(.contact-link, time, address) {
    --fs-7: 14px;
    font-weight: var(--fw-300);
  }

  .separator:last-of-type {
    margin: 15px 0;
    opacity: 0;
  }

  .social-list {
    justify-content: center;
  }

  .timeline-text {
    max-width: 700px;
  }
}


/* ═══════════════════════════════════════════════════════════
   LIGHT MODE — White × Purple Liquid Glass Theme
   Activates automatically when device is in Light Mode
   @media (prefers-color-scheme: light)
═══════════════════════════════════════════════════════════ */

/* ── Smooth theme transition on everything ── */
*,
*::before,
*::after {
  transition-property: background, background-color, border-color,
    box-shadow, color, opacity;
  transition-duration: 0.4s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-color-scheme: light) {

  /* ──────────────────────────────────────────
     STEP 1: Re-map every CSS token to light values
  ────────────────────────────────────────── */
  :root {

    /* Backgrounds — near-white with warm violet tint */
    --bg-deep: hsl(250, 30%, 97%);
    --bg-base: hsl(250, 25%, 95%);
    --bg-elevated: hsl(250, 20%, 92%);
    --bg-surface: hsl(250, 15%, 89%);
    --bg-overlay: hsl(250, 12%, 85%);

    /* Legacy aliases */
    --jet: hsl(250, 10%, 80%);
    --onyx: hsl(250, 12%, 88%);
    --eerie-black-1: hsl(250, 15%, 91%);
    --eerie-black-2: hsl(250, 20%, 94%);
    --smoky-black: hsl(250, 30%, 97%);

    /* Glass surfaces — dark-tinted on light bg */
    --glass-white: hsla(258, 30%, 20%, 0.05);
    --glass-white-md: hsla(258, 30%, 20%, 0.09);
    --glass-white-lg: hsla(258, 30%, 20%, 0.14);
    --glass-border: hsla(258, 40%, 30%, 0.12);
    --glass-border-md: hsla(258, 40%, 30%, 0.20);
    --glass-border-lg: hsla(258, 40%, 30%, 0.32);
    --glass-inner: hsla(258, 40%, 20%, 0.04);
    --glass-shine: hsla(0, 0%, 100%, 0.70);

    /* Accent — deeper, richer violet for light bg */
    --accent: hsl(258, 80%, 52%);
    --accent-bright: hsl(248, 85%, 58%);
    --accent-dim: hsl(258, 60%, 45%);
    --accent-glow: hsla(258, 80%, 52%, 0.30);
    --accent-glow-sm: hsla(258, 80%, 52%, 0.14);
    --accent-glow-xs: hsla(258, 80%, 52%, 0.07);

    --accent-purple: hsl(258, 80%, 52%);
    --accent-purple-dark: hsl(258, 60%, 45%);

    /* Text — dark on white */
    --white-1: hsl(250, 20%, 12%);
    --white-2: hsl(250, 15%, 18%);
    --light-gray: hsl(250, 10%, 38%);
    --light-gray-70: hsla(250, 10%, 38%, 0.7);
    --bittersweet-shimmer: hsl(0, 55%, 45%);

    /* Gradients — light glass */
    --bg-gradient-onyx: linear-gradient(135deg,
        hsla(250, 20%, 88%, 0.9) 0%,
        hsla(250, 20%, 92%, 0.95) 100%);

    --bg-gradient-jet: linear-gradient(135deg,
        hsla(250, 20%, 90%, 0.6) 0%,
        hsla(250, 20%, 94%, 0.4) 100%),
      hsl(250, 20%, 92%);

    --bg-gradient-purple-1: linear-gradient(135deg,
        hsla(258, 80%, 52%, 0.12) 0%,
        hsla(248, 85%, 58%, 0.05) 60%,
        transparent 100%);

    --bg-gradient-purple-2: linear-gradient(135deg,
        hsla(258, 80%, 52%, 0.07) 0%,
        hsla(248, 85%, 58%, 0.03) 50%),
      hsl(250, 20%, 92%);

    --border-gradient-onyx: linear-gradient(135deg,
        hsla(258, 40%, 30%, 0.18) 0%,
        hsla(258, 40%, 30%, 0.04) 100%);

    --text-gradient-purple: linear-gradient(135deg,
        hsl(258, 80%, 48%),
        hsl(220, 80%, 52%));

    /* Ambient bg — soft violet bloom */
    --ambient-gradient:
      radial-gradient(ellipse 80% 50% at 50% -10%,
        hsla(258, 80%, 65%, 0.10) 0%,
        transparent 60%),
      radial-gradient(ellipse 60% 40% at 80% 80%,
        hsla(220, 80%, 65%, 0.06) 0%,
        transparent 60%);

    /* Shadows — lighter, violet-tinted */
    --shadow-1: 0 2px 12px hsla(258, 30%, 20%, 0.10),
      0 1px 3px hsla(258, 30%, 20%, 0.07);

    --shadow-2: 0 8px 32px hsla(258, 30%, 20%, 0.10),
      0 2px 8px hsla(258, 30%, 20%, 0.07),
      inset 0 1px 0 hsla(0, 0%, 100%, 0.70);

    --shadow-3: 0 16px 48px hsla(258, 30%, 20%, 0.14),
      0 4px 12px hsla(258, 30%, 20%, 0.08);

    --shadow-4: 0 24px 60px hsla(258, 30%, 20%, 0.12),
      0 4px 16px hsla(258, 30%, 20%, 0.07);

    --shadow-5: 0 32px 80px hsla(258, 30%, 20%, 0.16),
      0 8px 24px hsla(258, 30%, 20%, 0.09);

    --shadow-glow: 0 0 40px var(--accent-glow),
      0 0 80px hsla(258, 80%, 52%, 0.08);

    --shadow-card: 0 4px 24px hsla(258, 30%, 20%, 0.10),
      0 1px 0 hsla(0, 0%, 100%, 0.80) inset,
      0 -1px 0 hsla(258, 30%, 20%, 0.06) inset;
  }

  /* ──────────────────────────────────────────
     STEP 2: Body background
  ────────────────────────────────────────── */
  body {
    background: var(--bg-deep);
    background-image: var(--ambient-gradient);
  }

  /* ──────────────────────────────────────────
     STEP 3: Cards & panels — white frosted glass
  ────────────────────────────────────────── */
  .sidebar,
  article {
    background: hsla(0, 0%, 100%, 0.72);
    border-color: var(--glass-border);
    box-shadow:
      0 8px 40px hsla(258, 30%, 20%, 0.10),
      0 2px 8px hsla(258, 30%, 20%, 0.06),
      inset 0 1px 0 hsla(0, 0%, 100%, 0.90);
  }

  .sidebar::before,
  article::before {
    background: linear-gradient(160deg,
        hsla(258, 50%, 100%, 0.50) 0%,
        transparent 60%);
  }

  /* ──────────────────────────────────────────
     STEP 4: Navbar — white frosted dock
  ────────────────────────────────────────── */
  .navbar {
    background: hsla(250, 30%, 98%, 0.82) !important;
    border-color: hsla(258, 30%, 30%, 0.14) !important;
    border-top-color: hsla(0, 0%, 100%, 0.95) !important;
    box-shadow:
      0 8px 40px hsla(258, 30%, 20%, 0.14),
      0 2px 8px hsla(258, 30%, 20%, 0.08),
      0 0 60px hsla(258, 80%, 52%, 0.08),
      0 0 120px hsla(258, 80%, 52%, 0.04),
      inset 0 1px 0 hsla(0, 0%, 100%, 0.95),
      inset 0 -1px 0 hsla(258, 30%, 20%, 0.06) !important;
  }

  .navbar::before {
    background: linear-gradient(135deg,
        hsla(258, 80%, 52%, 0.07) 0%,
        hsla(220, 80%, 52%, 0.04) 50%,
        transparent 100%);
  }

  .navbar::after {
    background: linear-gradient(to right,
        transparent,
        hsla(258, 80%, 52%, 0.35),
        hsla(220, 80%, 52%, 0.35),
        transparent);
  }

  .navbar.scrolled {
    background: hsla(250, 30%, 97%, 0.92) !important;
  }

  .navbar-link {
    color: hsl(250, 15%, 42%);
  }

  .navbar-link:hover {
    color: hsl(250, 20%, 18%);
    background: hsla(258, 30%, 20%, 0.07);
    border-color: hsla(258, 30%, 20%, 0.12);
    box-shadow:
      0 4px 16px hsla(258, 30%, 20%, 0.10),
      inset 0 1px 0 hsla(0, 0%, 100%, 0.70);
  }

  .navbar-link.active {
    color: hsl(258, 80%, 44%);
    background: linear-gradient(135deg,
        hsla(258, 80%, 52%, 0.15) 0%,
        hsla(228, 80%, 55%, 0.09) 50%,
        hsla(258, 60%, 45%, 0.06) 100%);
    border-color: hsla(258, 80%, 55%, 0.28);
    border-top-color: hsla(258, 80%, 70%, 0.45);
    box-shadow:
      0 0 20px hsla(258, 80%, 52%, 0.15),
      0 0 40px hsla(258, 80%, 52%, 0.07),
      0 4px 16px hsla(258, 30%, 20%, 0.12),
      inset 0 1px 0 hsla(258, 80%, 80%, 0.30),
      inset 0 -1px 0 hsla(258, 80%, 30%, 0.10);
    text-shadow: 0 0 16px hsla(258, 80%, 52%, 0.40);
  }

  .navbar-link.active::after {
    background: hsl(258, 80%, 52%);
    box-shadow: 0 0 8px hsla(258, 80%, 52%, 0.50),
      0 0 16px hsla(258, 80%, 52%, 0.25);
  }

  /* ──────────────────────────────────────────
     STEP 5: Icon boxes
  ────────────────────────────────────────── */
  .icon-box {
    background: hsla(0, 0%, 100%, 0.70);
    border-color: var(--glass-border);
    box-shadow: 0 2px 8px hsla(258, 30%, 20%, 0.10);
  }

  /* ──────────────────────────────────────────
     STEP 6: Separator
  ────────────────────────────────────────── */
  .separator {
    background: var(--glass-border);
  }

  /* ──────────────────────────────────────────
     STEP 7: Sidebar info title/badge
  ────────────────────────────────────────── */
  .info-content .title {
    background: hsla(258, 30%, 20%, 0.07);
    border-color: var(--glass-border);
    color: var(--light-gray);
  }

  .info_more-btn {
    background: hsla(0, 0%, 100%, 0.70);
    border-color: var(--glass-border);
  }

  /* ──────────────────────────────────────────
     STEP 8: Tech cards
  ────────────────────────────────────────── */
  .tech-card {
    background: hsla(0, 0%, 100%, 0.65);
    border-color: var(--glass-border);
    box-shadow:
      0 2px 8px hsla(258, 30%, 20%, 0.09),
      0 1px 0 hsla(0, 0%, 100%, 0.90) inset,
      0 -1px 0 hsla(258, 30%, 20%, 0.05) inset;
  }

  .tech-card::before {
    background: linear-gradient(180deg,
        hsla(0, 0%, 100%, 0.60) 0%,
        hsla(0, 0%, 100%, 0.10) 50%,
        transparent 100%);
  }

  .tech-card::after {
    background: linear-gradient(0deg,
        hsla(258, 30%, 20%, 0.04) 0%,
        transparent 100%);
  }

  .tech-card:hover {
    background: hsla(0, 0%, 100%, 0.85);
    border-color: var(--glass-border-md);
    box-shadow:
      0 20px 48px hsla(258, 30%, 20%, 0.14),
      0 8px 16px hsla(258, 30%, 20%, 0.09),
      0 0 30px hsla(258, 80%, 52%, 0.08),
      0 1px 0 hsla(0, 0%, 100%, 0.95) inset;
  }

  /* ──────────────────────────────────────────
     STEP 9: Service, achievement, awareness cards
  ────────────────────────────────────────── */
  .service-item,
  .achievement-card,
  .awareness-card,
  .content-card,
  .skills-list {
    background: hsla(0, 0%, 100%, 0.65);
    border-color: var(--glass-border);
  }

  .service-item:hover,
  .achievement-card:hover,
  .awareness-card:hover,
  .content-card:hover {
    background: hsla(0, 0%, 100%, 0.85);
    border-color: var(--glass-border-md);
  }

  .service-item::before,
  .achievement-card::before,
  .awareness-card::before,
  .content-card::before,
  .skills-list::before {
    background: linear-gradient(135deg,
        hsla(0, 0%, 100%, 0.50) 0%,
        transparent 50%);
  }

  /* ──────────────────────────────────────────
     STEP 10: Stats pills
  ────────────────────────────────────────── */
  .stat {
    background: hsla(0, 0%, 100%, 0.60);
    border-color: var(--glass-border);
  }

  .stat:hover {
    background: hsla(0, 0%, 100%, 0.82);
    border-color: var(--glass-border-md);
  }

  .stat::before {
    background: linear-gradient(135deg,
        hsla(0, 0%, 100%, 0.50) 0%,
        transparent 60%);
  }

  /* ──────────────────────────────────────────
     STEP 11: Form inputs
  ────────────────────────────────────────── */
  .form-input {
    background: hsla(0, 0%, 100%, 0.70);
    border-color: var(--glass-border-md);
    color: var(--white-2);
  }

  .form-input::placeholder {
    color: var(--light-gray-70);
  }

  .form-input:focus {
    background: hsla(0, 0%, 100%, 0.90);
    border-color: var(--accent-glow);
    box-shadow: 0 0 0 3px var(--accent-glow-xs),
      0 0 20px var(--accent-glow-xs);
  }

  .form-btn {
    background: hsla(258, 30%, 20%, 0.07);
    border-color: var(--glass-border-md);
    color: var(--accent);
  }

  .form-btn:hover {
    background: hsla(258, 30%, 20%, 0.12);
    border-color: var(--accent-glow);
  }

  /* ──────────────────────────────────────────
     STEP 12: Resume / View Resume button
  ────────────────────────────────────────── */
  .resume-btn,
  .resume-link {
    background: linear-gradient(135deg,
        hsla(258, 80%, 52%, 0.14) 0%,
        hsla(228, 80%, 55%, 0.08) 50%,
        hsla(258, 60%, 45%, 0.06) 100%);
    border-color: hsla(258, 80%, 55%, 0.28);
    border-top-color: hsla(258, 80%, 70%, 0.45);
    color: hsl(258, 80%, 38%);
    text-shadow: none;
    box-shadow:
      0 0 14px hsla(258, 80%, 52%, 0.14),
      0 0 30px hsla(258, 80%, 52%, 0.07),
      0 4px 12px hsla(258, 30%, 20%, 0.10),
      inset 0 1px 0 hsla(258, 80%, 80%, 0.35),
      inset 0 -1px 0 hsla(258, 80%, 30%, 0.08);
  }

  .resume-btn:hover,
  .resume-link:hover {
    color: hsl(258, 80%, 32%);
    background: linear-gradient(135deg,
        hsla(258, 80%, 52%, 0.22) 0%,
        hsla(228, 80%, 55%, 0.14) 50%,
        hsla(258, 60%, 45%, 0.10) 100%);
    border-color: hsla(258, 80%, 55%, 0.42);
  }

  /* ──────────────────────────────────────────
     STEP 13: Social links
  ────────────────────────────────────────── */
  .social-item .social-link {
    background: hsla(0, 0%, 100%, 0.60);
    border-color: var(--glass-border);
    color: var(--light-gray);
  }

  .social-item .social-link:hover {
    background: hsla(0, 0%, 100%, 0.85);
    border-color: var(--accent-glow);
    color: var(--accent);
  }

  /* ──────────────────────────────────────────
     STEP 14: Skill progress bars
  ────────────────────────────────────────── */
  .skill-progress-bg {
    background: hsla(258, 20%, 20%, 0.10);
  }

  /* ──────────────────────────────────────────
     STEP 15: Skill tags & achievement tags
  ────────────────────────────────────────── */
  .skill-tag {
    background: hsla(258, 80%, 52%, 0.10);
    border-color: hsla(258, 80%, 52%, 0.22);
    color: var(--accent);
  }

  /* ──────────────────────────────────────────
     STEP 16: Awareness tip cards
  ────────────────────────────────────────── */
  .awareness-card-tip.alert {
    background: hsla(0, 40%, 50%, 0.08);
    border-left-color: hsl(0, 70%, 50%);
    color: hsl(0, 30%, 28%);
  }

  .awareness-card-tip.info {
    background: hsla(258, 80%, 52%, 0.07);
    border-left-color: var(--accent);
    color: hsl(258, 30%, 28%);
  }

  .awareness-card-btn {
    background: hsla(0, 0%, 100%, 0.60);
    border-color: var(--glass-border-md);
    color: var(--accent);
  }

  .awareness-card-btn:hover {
    background: hsla(0, 0%, 100%, 0.85);
    border-color: var(--accent-glow);
  }

  /* ──────────────────────────────────────────
     STEP 17: Pagination buttons
  ────────────────────────────────────────── */
  .pagination button {
    background: hsla(0, 0%, 100%, 0.65);
    border-color: var(--glass-border);
    color: var(--white-2);
  }

  .pagination button:not(:disabled):hover {
    background: hsla(0, 0%, 100%, 0.85);
    border-color: var(--accent-glow);
    color: var(--accent);
  }

  /* ──────────────────────────────────────────
     STEP 18: Modal overlay + modal panel
  ────────────────────────────────────────── */
  .overlay {
    background: hsla(250, 30%, 20%, 0.45);
  }

  .testimonials-modal,
  .projects-modal {
    background: hsla(0, 0%, 100%, 0.85);
    border-color: var(--glass-border-md);
    backdrop-filter: blur(40px) saturate(200%);
    box-shadow:
      0 32px 80px hsla(258, 30%, 20%, 0.18),
      0 8px 24px hsla(258, 30%, 20%, 0.10),
      inset 0 1px 0 hsla(0, 0%, 100%, 0.95);
  }

  .modal-close-btn {
    background: hsla(258, 20%, 20%, 0.08);
    border-color: var(--glass-border);
    color: var(--white-2);
  }

  .modal-close-btn:hover {
    background: hsla(258, 20%, 20%, 0.14);
  }

  /* ──────────────────────────────────────────
     STEP 19: Scrollbar
  ────────────────────────────────────────── */
  body::-webkit-scrollbar-track {
    background: hsl(250, 30%, 93%);
  }

  body::-webkit-scrollbar-thumb {
    background: hsla(258, 30%, 20%, 0.18);
    border-color: hsl(250, 30%, 93%);
  }

  body::-webkit-scrollbar-thumb:hover {
    background: hsla(258, 30%, 20%, 0.28);
  }

  /* ──────────────────────────────────────────
     STEP 20: Avatar box
  ────────────────────────────────────────── */
  .avatar-box {
    background: hsla(0, 0%, 100%, 0.60);
    border-color: var(--glass-border);
  }

  .avatar-box:hover {
    border-color: var(--accent-glow);
    box-shadow: 0 0 24px var(--accent-glow-sm);
  }

  /* ──────────────────────────────────────────
     STEP 21: Select / filter
  ────────────────────────────────────────── */
  .filter-select {
    background: hsla(0, 0%, 100%, 0.70);
    border-color: var(--glass-border-md);
    color: var(--white-2);
  }

  .select-list {
    background: hsla(0, 0%, 100%, 0.90);
    border-color: var(--glass-border-md);
  }

  .select-item button {
    background: transparent;
    color: var(--white-2);
  }

  .select-item button:hover {
    background: var(--glass-white-md);
  }

  /* ──────────────────────────────────────────
     STEP 22: Project / blog cards
  ────────────────────────────────────────── */
  .blog-post-item>a {
    background: hsla(0, 0%, 100%, 0.65);
    border-color: var(--glass-border);
  }

  .blog-post-item>a:hover {
    background: hsla(0, 0%, 100%, 0.85);
    border-color: var(--glass-border-md);
  }

  .project-item-icon-box {
    background: hsla(0, 0%, 100%, 0.75);
    border-color: var(--glass-border);
    color: var(--accent);
  }

  /* ──────────────────────────────────────────
     STEP 23: Timeline
  ────────────────────────────────────────── */
  .timeline-item:not(:last-child)::before {
    background: var(--glass-border-md);
  }

  /* ──────────────────────────────────────────
     STEP 24: Achievement icon box
  ────────────────────────────────────────── */
  .achievement-icon-box {
    background: hsla(0, 0%, 100%, 0.65);
    border-color: var(--glass-border);
  }

  /* ──────────────────────────────────────────
     STEP 25: Text gradient (keep purple on light)
  ────────────────────────────────────────── */
  .article-title::after {
    background: var(--text-gradient-purple);
    box-shadow: 0 0 12px var(--accent-glow-sm);
  }

  /* ──────────────────────────────────────────
     STEP 26: Light-mode ::selection
  ────────────────────────────────────────── */
  ::selection {
    background: hsla(258, 80%, 52%, 0.20);
    color: hsl(258, 80%, 28%);
  }

}

/* ── END LIGHT MODE ── */