:root {
  /* Core Colors – Dark Mode */
  --bg-primary: #030d08;
  --bg-secondary: #071209;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.08);

  /* Blue Accent Palette */
  --neon-blue: #0077b6;
  --neon-purple: #0096c7;
  --neon-cyan: #48cae4;
  --accent-glow: rgba(0, 119, 182, 0.35);

  /* Gradient */
  --gradient-primary: linear-gradient(135deg, #0077b6 0%, #0096c7 100%);
  --gradient-blue: linear-gradient(90deg, #0077b6, #48cae4);
  --gradient-text: linear-gradient(135deg, #0077b6 0%, #48cae4 100%);

  /* Text */
  --text-primary: #f0fff4;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;

  /* Glass Effect */
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.10);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --glass-blur: blur(16px);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Transitions */
  --transition-fast: all 0.2s ease;
  --transition-normal: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Navbar height */
  --nav-height: 72px;
}

/* Light Mode Overrides */
[data-theme="light"] {
  --bg-primary: #f0fdf4;
  --bg-secondary: #dcfce7;
  --bg-card: rgba(255, 255, 255, 0.7);
  --bg-card-hover: rgba(255, 255, 255, 0.9);
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(0, 119, 182, 0.2);
  --glass-shadow: 0 8px 32px rgba(0, 119, 182, 0.12);
  --text-primary: #052e16;
  --text-secondary: #374151;
  --text-muted: #6b7280;
  --accent-glow: rgba(0, 119, 182, 0.2);
}


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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', 'Space Grotesk', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}


body.loading {
  overflow: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: var(--neon-blue);
  text-decoration: none;
  transition: var(--transition-fast);
}

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

.section-padding {
  padding: 100px 0;
}


#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}


#page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.loader-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: pulse-scale 1s ease-in-out infinite;
}

.loader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  overflow: hidden;
}

.loader-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 99px;
  animation: loader-progress 1.8s ease forwards;
}

.loader-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
  animation: flicker 0.3s step-end infinite;
}

@keyframes loader-progress {
  0% {
    width: 0%;
  }

  100% {
    width: 100%;
  }
}

@keyframes pulse-scale {

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

  50% {
    transform: scale(1.08);
  }
}

@keyframes flicker {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }
}


#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--gradient-primary);
  z-index: 10000;
  box-shadow: 0 0 10px var(--neon-blue);
  transition: width 0.1s linear;
}

/* ================================================
   NAVBAR
   ================================================ */
#navbar {
  height: var(--nav-height);
  padding: 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: var(--transition-normal);
  z-index: 1000;
}

#navbar.scrolled {
  background: rgba(3, 13, 8, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] #navbar.scrolled {
  background: rgba(205, 237, 255, 0.85);
}

.navbar-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-dot {
  color: var(--neon-purple);
  -webkit-text-fill-color: var(--neon-purple);
}

.nav-link {
  color: var(--text-secondary) !important;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  padding: 8px 12px !important;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 99px;
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary) !important;
}

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

/* Custom hamburger */
.navbar-toggler {
  border: none;
  background: none;
  padding: 6px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.toggler-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.toggler-icon span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 99px;
  transition: var(--transition-fast);
}

/* ================================================
   THEME TOGGLE BUTTON
   ================================================ */
.theme-btn {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-fast);
  backdrop-filter: blur(8px);
}

.theme-btn:hover {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
  box-shadow: 0 0 20px var(--accent-glow);
}

/* ================================================
   GLASSMORPHISM BASE
   ================================================ */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(24, 152, 190, 0.3);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5), 0 0 40px rgba(34, 197, 94, 0.1);
  transform: translateY(-4px);
}

/* ================================================
   HERO SECTION
   ================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  z-index: 1;
  overflow: hidden;
}

/* Decorative blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  pointer-events: none;
  animation: blob-float 8s ease-in-out infinite;
}

.blob-1 {
  width: 600px;
  height: 600px;
  background: var(--neon-blue);
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: var(--neon-purple);
  bottom: -100px;
  left: -100px;
  animation-delay: 3s;
}

.blob-3 {
  width: 300px;
  height: 300px;
  background: var(--neon-cyan);
  top: 40%;
  left: 40%;
  opacity: 0.12;
  animation-delay: 6s;
}

@keyframes blob-float {

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

  33% {
    transform: translate(30px, -30px) scale(1.05);
  }

  66% {
    transform: translate(-20px, 20px) scale(0.95);
  }
}

.hero-container {
  z-index: 2;
  position: relative;
}

/* Greeting badge */
.greeting-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 151, 197, 0.12);
  border: 1px solid rgba(34, 137, 197, 0.3);
  border-radius: 99px;
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #2dc0d4;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #2dd457;
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(45, 192, 212, 0.5);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(45, 212, 191, 0);
  }
}

/* Hero Name */
.hero-name {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.name-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Typing Title */
.hero-title-wrapper {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: var(--neon-cyan);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.title-prefix,
.title-suffix {
  color: var(--text-muted);
}

.typing-text {
  color: var(--neon-cyan);
}

.cursor-blink {
  color: var(--neon-blue);
  animation: blink 0.75s step-end infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* Hero Intro */
.hero-intro {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.8;
}

.tech-stack {
  font-weight: 700;
  color: #2dc0d4;
  background: rgba(34, 151, 197, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
}

/* CTA Buttons */
.btn-primary-glow {
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px 28px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-normal);
  box-shadow: 0 4px 24px rgba(34, 165, 197, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-primary-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.btn-primary-glow:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(34, 186, 197, 0.6);
}

.btn-primary-glow:hover::before {
  left: 100%;
}

.btn-glass {
  background: var(--glass-bg);
  color: var(--text-primary) !important;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 11px 28px;
  font-weight: 600;
  font-size: 0.9rem;
  backdrop-filter: blur(8px);
  transition: var(--transition-normal);
}

.btn-glass:hover {
  background: rgba(34, 178, 197, 0.15);
  border-color: var(--neon-blue);
  color: var(--neon-blue) !important;
  transform: translateY(-2px);
}

.btn-outline-glow {
  background: transparent;
  color: var(--neon-purple) !important;
  border: 1px solid var(--neon-purple);
  border-radius: var(--radius-sm);
  padding: 11px 28px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-normal);
}

.btn-outline-glow:hover {
  background: rgba(16, 165, 185, 0.15);
  box-shadow: 0 0 20px rgba(16, 165, 185, 0.4);
  transform: translateY(-2px);
}

/* Social Icons */
.social-icon {
  width: 44px;
  height: 44px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-secondary);
  transition: var(--transition-normal);
  backdrop-filter: blur(8px);
}

.social-icon:hover {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(34, 159, 197, 0.4);
}

/* =============================================
   HERO AVATAR CARD
   ============================================= */
.hero-card-wrapper {
  position: relative;
}

.hero-avatar-card {
  width: 380px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  position: relative;
}

.avatar-ring {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  padding: 6px;
  background: var(--gradient-primary);
  animation: rotate-glow 4s linear infinite;
  box-shadow: 0 0 40px var(--accent-glow);
}

@keyframes rotate-glow {
  0% {
    box-shadow: 0 0 30px var(--accent-glow), 0 0 60px rgba(16, 165, 185, 0.1);
  }

  50% {
    box-shadow: 0 0 60px var(--accent-glow), 0 0 80px rgba(16, 145, 185, 0.3);
  }

  100% {
    box-shadow: 0 0 30px var(--accent-glow), 0 0 60px rgba(16, 131, 185, 0.1);
  }
}

.avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.avatar-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 50%;
}

/* Floating Badges */
.float-badge {
  position: absolute;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  border-radius: 99px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.float-badge i {
  font-size: 0.85rem;
}

.badge-react {
  top: 20px;
  left: -30px;
  color: #61dafb;
  animation: float-badge-1 3s ease-in-out infinite;
}

.badge-next {
  top: 20px;
  right: -30px;
  color: var(--text-primary);
  animation: float-badge-2 3.5s ease-in-out infinite;
}

.badge-laravel {
  bottom: 60px;
  left: -40px;
  color: #ff2d20;
  animation: float-badge-1 4s ease-in-out infinite reverse;
}

.badge-spring {
  bottom: 60px;
  right: -30px;
  color: #3fabb3;
  animation: float-badge-2 4.5s ease-in-out infinite reverse;
}

@keyframes float-badge-1 {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes float-badge-2 {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(8px);
  }
}

/* Scroll Down Arrow */
.scroll-down-arrow {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-down-arrow a {
  color: var(--text-muted);
  font-size: 1.5rem;
  animation: bounce-down 2s ease-in-out infinite;
  display: block;
}

@keyframes bounce-down {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(8px);
  }
}

/* ================================================
   STATS SECTION
   ================================================ */
.stats-section {
  padding: 60px 0;
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-item {
  text-align: center;
  padding: 24px 16px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: var(--glass-border);
}

.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-plus {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 8px;
}

/* ================================================
   SECTION HEADERS
   ================================================ */
.section-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--neon-blue);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(34, 132, 197, 0.1);
  border: 1px solid rgba(34, 186, 197, 0.25);
  border-radius: 99px;
  padding: 4px 14px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-line {
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 99px;
  margin: 0 auto;
  box-shadow: 0 0 20px var(--accent-glow);
}

/* ================================================
   ABOUT SECTION
   ================================================ */
.about-section {
  position: relative;
  z-index: 1;
}

.about-card {
  padding: 36px;
  text-align: center;
}

.about-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 0 40px var(--accent-glow);
  padding: 6px;
}

.about-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 50%;
}

.about-role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  color: var(--neon-blue);
  margin-top: 4px;
}

.info-badge {
  background: rgba(34, 165, 197, 0.1);
  border: 1px solid rgba(34, 137, 197, 0.2);
  border-radius: 99px;
  padding: 4px 14px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.about-text {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 16px;
}

.about-text strong {
  color: var(--text-primary);
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.highlight-item i {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.1rem;
}

/* ================================================
   SKILLS SECTION
   ================================================ */
.skills-section {
  position: relative;
  z-index: 1;
}

.skill-category {
  padding: 32px;
}

.skill-cat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.skill-cat-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  box-shadow: 0 4px 16px var(--accent-glow);
  flex-shrink: 0;
}

.skill-cat-header h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.skills-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.skill-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  width: 0%;
  background: var(--gradient-primary);
  border-radius: 99px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 8px var(--accent-glow);
}

/* ================================================
   PROJECTS SECTION
   ================================================ */
.projects-section {
  position: relative;
  z-index: 1;
}

.project-card {
  padding: 36px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-8px);
}

.project-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.project-icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.project-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
}

[data-theme="light"] .project-number {
  color: rgba(0, 0, 0, 0.05);
}

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.project-desc {
  flex: 1;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 20px;
}

.tech-badge {
  background: rgba(34, 173, 197, 0.1);
  border: 1px solid rgba(34, 118, 197, 0.25);
  border-radius: 99px;
  padding: 3px 12px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--neon-blue);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.02em;
}

/* ================================================
   SERVICES SECTION
   ================================================ */
.services-section {
  position: relative;
  z-index: 1;
}

.service-card {
  padding: 40px 32px;
  height: 100%;
}

.service-icon {
  width: 64px;
  height: 64px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  margin: 0 auto 24px;
  box-shadow: 0 8px 30px var(--accent-glow);
  transition: var(--transition-normal);
}

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

.service-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0;
}

/* ================================================
   CONTACT SECTION
   ================================================ */
.contact-section {
  position: relative;
  z-index: 1;
}

.contact-heading {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.contact-subtext {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: rgba(34, 173, 197, 0.1);
  border: 1px solid rgba(34, 132, 197, 0.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--neon-blue);
  flex-shrink: 0;
}

.detail-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.detail-value {
  display: block;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* Contact Form */
.contact-form {
  padding: 40px;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.custom-input {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: var(--radius-sm) !important;
  color: var(--text-primary) !important;
  font-size: 0.92rem;
  padding: 12px 16px;
  transition: var(--transition-fast);
  backdrop-filter: blur(4px);
  font-family: 'Inter', sans-serif;
}

.custom-input::placeholder {
  color: var(--text-muted) !important;
}

.custom-input:focus {
  background: rgba(34, 178, 197, 0.05) !important;
  border-color: var(--neon-blue) !important;
  box-shadow: 0 0 0 3px rgba(34, 151, 197, 0.15) !important;
  outline: none;
}

[data-theme="light"] .custom-input {
  background: rgba(255, 255, 255, 0.7) !important;
  color: #0f0f1a !important;
}

textarea.custom-input {
  resize: vertical;
  min-height: 120px;
}

.form-success-msg {
  background: rgba(34, 159, 197, 0.1);
  border: 1px solid rgba(34, 145, 197, 0.3);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: #229fc5;
  font-size: 0.88rem;
  font-weight: 500;
}

/* ================================================
   FOOTER
   ================================================ */
.site-footer {
  padding: 60px 0 32px;
  border-top: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.footer-bio {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-bottom: 24px;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.footer-nav a:hover {
  color: var(--neon-blue);
}

.footer-copy {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ================================================
   BACK TO TOP BUTTON
   ================================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: var(--transition-normal);
  z-index: 999;
  box-shadow: 0 4px 24px var(--accent-glow);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  box-shadow: 0 8px 40px var(--accent-glow);
  transform: translateY(-4px);
}

/* ================================================
   ANIMATION: DATA-AOS (custom lightweight)
   ================================================ */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-aos="fade-right"] {
  transform: translateX(-30px);
}

[data-aos="fade-left"] {
  transform: translateX(30px);
}

[data-aos="fade-up"] {
  transform: translateY(30px);
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translate(0, 0);
}

/* Delays */
[data-aos][data-aos-delay="100"] {
  transition-delay: 0.1s;
}

[data-aos][data-aos-delay="200"] {
  transition-delay: 0.2s;
}

[data-aos][data-aos-delay="300"] {
  transition-delay: 0.3s;
}

/* ================================================
   RESPONSIVE – TABLET & MOBILE
   ================================================ */
@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }

  .stat-item:nth-child(1)::after,
  .stat-item:nth-child(3)::after {
    display: block;
  }

  .hero-avatar-card {
    width: 320px;
    height: 360px;
  }

  .float-badge {
    display: none;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 70px 0;
  }
  
  .hero-section {
    padding-top: calc(var(--nav-height) + 40px);
  }
  
  .hero-section .row.min-vh-100 {
    min-height: auto !important;
    padding-bottom: 60px;
  }

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

  .hero-name {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-intro {
    font-size: 0.95rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-ctas .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .hero-avatar-card {
    display: none;
  }

  .contact-form {
    padding: 24px;
  }

  .about-card {
    padding: 24px;
  }
}

@media (max-width: 576px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
  }
}

/* ================================================
   SCROLLBAR STYLING
   ================================================ */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--neon-purple);
}

/* ================================================
   SELECTION STYLING
   ================================================ */
::selection {
  background: rgba(34, 165, 197, 0.3);
  color: var(--text-primary);
}