html {
  scroll-behavior: smooth;
}

body,
html {
  font-family: "Sora", "JetBrains Mono", monospace, sans-serif;
  color: #fff;
  background: var(--color-bg);
  background-image: radial-gradient(
      rgba(56, 189, 248, 0.03) 1px,
      transparent 1px
    ),
    radial-gradient(rgba(56, 189, 248, 0.02) 1px, transparent 1px);
  background-size: 38px 38px;
  background-position: 0 0, 19px 19px;
  position: relative;
}

.edu-hand {
  font-family: "Edu QLD Hand", cursive !important;
}
.allura {
  font-family: "Allura", cursive !important;
}

/* Typing cursor animation */
.typing::after {
  content: "|";
  animation: blink 0.7s infinite;
  color: #fff;
}

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

/* Project cards */
.project-card {
  background-color: var(--color-card);
  padding: 1.5rem;
  border-radius: 0.75rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--premium-shadow);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  border: var(--premium-border);
  display: block;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(5px);
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  transition: all 0.6s;
}

.project-card:hover {
  background-color: rgba(40, 40, 50, 0.5);
  color: #fff;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(-5px);
  border: 1px solid rgba(56, 189, 248, 0.2);
  z-index: 2;
}

.project-card:hover::before {
  left: 100%;
}
@media (max-width: 768px) {
  .project-card:hover {
    left: auto;
    transform: none !important;
  }
}

/* Zoom-in hover effect for links and interactive elements */
a,
.project-card,
#theme-toggle {
  transition: transform 0.18s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}
a:hover,
.project-card:hover,
#theme-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 16px 0 rgba(56, 189, 248, 0.1);
  z-index: 2;
}

/* Prevent zoom on nav-brand */
.nav-brand:hover {
  transform: none !important;
  box-shadow: none !important;
}

.nav-brand {
  font-weight: 700;
  font-size: 1.5rem;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: gradient-text 4s ease infinite;
}

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

/* --- Modern Glassmorphism Nav Bar --- */
.nav-main {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0.7rem 2.2rem 0.7rem 1.2rem;
  z-index: 100;
  border-bottom: 1.5px solid rgba(56, 189, 248, 0.13);
  box-shadow: 0 8px 32px 0 rgba(14,165,233,0.10), 0 1.5px 0 0 rgba(255,255,255,0.08) inset;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  background: linear-gradient(120deg, rgba(30,41,59,0.82) 60%, rgba(14,165,233,0.10) 100%);
  border-radius: 0 0 1.2rem 1.2rem;
  margin: 0 !important;
  gap: 1.5rem;
  transition: background 0.3s, box-shadow 0.3s;
}
body.light .nav-main {
  background: linear-gradient(120deg, rgba(255,255,255,0.92) 60%, rgba(186,230,253,0.18) 100%);
  border-bottom: 1.5px solid #bae6fd;
  box-shadow: 0 8px 32px 0 rgba(186,230,253,0.10), 0 1.5px 0 0 #e0f2fe inset;
}
.nav-brand {
  font-weight: 800;
  font-size: 1.6rem;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: gradient-text 4s ease infinite;
  letter-spacing: 0.05em;
  font-family: "Sora", "JetBrains Mono", monospace, sans-serif;
  margin-left: 0.2rem;
  user-select: none;
}
.theme-toggle-btn {
  margin-left: auto;
  margin-right: 0.2rem;
  padding: 0.5rem 1.2rem;
  border-radius: 0.7rem;
  outline: none;
  background: rgba(56,189,248,0.13);
  color: var(--color-accent);
  border: 1.5px solid rgba(56,189,248,0.18);
  font-size: 1.15rem;
  font-weight: 600;
  box-shadow: 0 2px 8px 0 rgba(56,189,248,0.08);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.theme-toggle-btn:hover {
  background: rgba(56,189,248,0.22);
  color: #fff;
  box-shadow: 0 4px 16px 0 rgba(56,189,248,0.13);
}
body.light .theme-toggle-btn {
  background: rgba(186,230,253,0.18);
  color: #0ea5e9;
  border: 1.5px solid #bae6fd;
}
body.light .theme-toggle-btn:hover {
  background: #e0f2fe;
  color: #0284c7;
}
@media (max-width: 768px) {
  .nav-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.7rem 0.5rem 0.7rem 0.5rem;
    border-radius: 0 0 1rem 1rem;
  }
  .nav-brand {
    margin-bottom: 0.5rem;
    margin-left: 0;
  }
  .theme-toggle-btn {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }
}

/* Enhanced liquid glass effect for navbar */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  border-radius: 0;
  border-bottom: 1px solid rgba(56, 189, 248, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  z-index: 50;
  backdrop-filter: blur(15px);
  background: rgba(15, 15, 22, 0.65);
  margin-top: 0 !important;
}

body {
  padding-top: 60px; /* prevent content from hiding under sticky nav */
}

nav .max-w-6xl {
  width: 100%;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

/* Glass overlay effect */
nav::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(56, 189, 248, 0.05) 0%,
    rgba(14, 165, 233, 0.03) 50%,
    rgba(56, 189, 248, 0.05) 100%
  );
  pointer-events: none;
  z-index: -1;
}

/* Light mode glass effect */
body.light nav,
html.light nav {
  background: rgba(248, 250, 252, 0.1);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.8);
}

body.light nav::before,
html.light nav::before {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.6) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0.6) 100%
  );
}

/* Enhanced frosted glass animation on scroll */
@keyframes navGlassShimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

nav::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  background-size: 200% 100%;
  animation: navGlassShimmer 3s infinite;
  pointer-events: none;
  z-index: -1;
}

/* Enhanced summon/fade-in-up animation */
[data-animate] {
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}
.fade-in-up {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}

/* Loading Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInFromLeft {
  from {
    transform: translateX(-60px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInFromRight {
  from {
    transform: translateX(60px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes bounceIn {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }
  40% {
    transform: scale(1.1);
    opacity: 1;
  }
  60% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

/* Animation classes */
.animate-fade-in {
  animation: fadeIn 1s forwards;
}

.animate-slide-left {
  animation: slideInFromLeft 1s forwards;
}

.animate-slide-right {
  animation: slideInFromRight 1s forwards;
}

.animate-scale-in {
  animation: scaleIn 0.8s forwards;
}

.animate-bounce-in {
  animation: bounceIn 1s forwards;
}

/* Animation delays */
.delay-100 {
  animation-delay: 100ms;
}
.delay-200 {
  animation-delay: 200ms;
}
.delay-300 {
  animation-delay: 300ms;
}
.delay-400 {
  animation-delay: 400ms;
}
.delay-500 {
  animation-delay: 500ms;
}
.delay-600 {
  animation-delay: 600ms;
}
.delay-700 {
  animation-delay: 700ms;
}
.delay-800 {
  animation-delay: 800ms;
}

/* Loader styles */
.loader-overlay {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #18181b;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s;
}
.loader-center {
  text-align: center;
}
.loader-spinner {
  display: inline-block;
  width: 48px;
  height: 48px;
  border: 4px solid #38bdf8;
  border-top: 4px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1.5rem;
}
.loader-text {
  display: block;
  color: #fff;
  font-size: 1.25rem;
  letter-spacing: 0.1em;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Light/Dark mode support */
:root {
  --color-bg: #0f0f12;
  --color-bg-light: #f8fafc;
  --color-text: #fff;
  --color-text-light: #18181b;
  --color-card: #1e1e24;
  --color-card-light: #fff;
  --color-link: #38bdf8;
  --color-link-hover: #0ea5e9;
  --color-accent: #38bdf8;
  --color-accent-light: #0ea5e9;
  --color-nav-light: #0ea5e9;
  --color-project-light: #e0e7ef;

  /* Premium Design Variables */
  --gold-gradient: linear-gradient(
    135deg,
    #bf953f,
    #fcf6ba,
    #b38728,
    #fbf5b7,
    #aa771c
  );
  --silver-gradient: linear-gradient(135deg, #8e9eab, #eef2f3, #8e9eab);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --premium-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  --premium-border: 1px solid rgba(255, 255, 255, 0.08);
}
body,
html {
  background: var(--color-bg);
  color: var(--color-text);
  background-image: radial-gradient(
      rgba(56, 189, 248, 0.03) 1px,
      transparent 1px
    ),
    radial-gradient(rgba(56, 189, 248, 0.02) 1px, transparent 1px);
  background-size: 38px 38px;
  background-position: 0 0, 19px 19px;
  position: relative;
}
.dark body,
.dark html {
  background: var(--color-bg);
  color: var(--color-text);
}
body.light,
html.light,
:root.light body,
:root.light html {
  background: var(--color-bg-light);
  color: var(--color-text-light);
}

/* Card backgrounds */
.bg-gray-800 {
  background-color: var(--color-card) !important;
}
.dark .bg-gray-800 {
  background-color: var(--color-card) !important;
}
body.light .bg-gray-800,
html.light .bg-gray-800 {
  background-color: var(--color-card-light) !important;
}

/* Text color overrides for light mode */
body.light .text-white,
html.light .text-white {
  color: var(--color-text-light) !important;
}
body.light .text-gray-400,
html.light .text-gray-400 {
  color: #444 !important;
}
body.light .text-gray-500,
html.light .text-gray-500 {
  color: #666 !important;
}
body.light .text-yellow-400,
html.light .text-yellow-400 {
  color: #b45309 !important;
}

/* Link color for light mode */
body.light a,
html.light a {
  color: var(--color-link);
}
body.light a:hover,
html.light a:hover {
  color: var(--color-link-hover);
}

/* Button for theme toggle */
#theme-toggle {
  background: var(--color-card);
  color: var(--color-text);
}
body.light #theme-toggle,
html.light #theme-toggle {
  background: var(--color-card-light);
  color: var(--color-text-light);
}

/* Footer background for light mode */
body.light footer,
html.light footer {
  background: #f1f5f9 !important;
}
body.light .footer-slogan,
html.light .footer-slogan {
  color: #18181b !important;
}

/* Loader for light mode */
body.light .loader-overlay,
html.light .loader-overlay {
  background: #f8fafc;
}
body.light .loader-spinner,
html.light .loader-spinner {
  border: 4px solid #0ea5e9;
  border-top: 4px solid transparent;
}
body.light .loader-text,
html.light .loader-text {
  color: #18181b;
}

/* VN. nav brand color */
nav .nav-brand {
  color: var(--color-accent);
  transition: color 0.3s;
}
body.light nav .nav-brand,
html.light nav .nav-brand {
  color: var(--color-nav-light) !important;
}

/* Project card background for light mode */
.project-card {
  background: var(--color-card);
  transition: background 0.3s;
}
body.light .project-card,
html.light .project-card {
  background: var(--color-project-light) !important;
}

/* Remove wobble from hover, add .wobble class for click */
#theme-toggle.wobble {
  animation: wobble 0.5s;
}
@keyframes wobble {
  0% {
    transform: scale(1) rotate(0deg);
  }
  15% {
    transform: scale(1.1, 0.9) rotate(-8deg);
  }
  30% {
    transform: scale(0.95, 1.05) rotate(6deg);
  }
  45% {
    transform: scale(1.05, 0.95) rotate(-4deg);
  }
  60% {
    transform: scale(0.98, 1.02) rotate(2deg);
  }
  75% {
    transform: scale(1.02, 0.98) rotate(-1deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
  }
}

/* Remove previous hover wobble if present */
#theme-toggle:hover {
  /* Only zoom, no wobble */
  transform: scale(1.08);
  box-shadow: 0 4px 16px 0 rgba(56, 189, 248, 0.1);
  z-index: 2;
}

/* Navigation (nav-main) */
.nav-main {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Align nav content to the left */
  padding: 0.5rem 2rem 0.5rem 0;
  z-index: 50;
  border-bottom: 1px solid rgba(55, 65, 81, 0.3);
  box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(16px);
  background: rgba(30, 41, 59, 0.3);
  border-radius: 0 0 1rem 1rem;
  margin: 0 !important;
  gap: 1.5rem;
}
.nav-brand {
  font-size: 1.5rem;
  font-weight: 800;
  user-select: none;
  color: var(--color-accent);
  letter-spacing: 0.04em;
  font-family: "Sora", "JetBrains Mono", monospace, sans-serif;
  margin-left: 1.2rem;
}
.theme-toggle-btn {
  margin-left: auto;
  margin-right: 1.2rem;
  padding: 0.5rem 1.2rem;
  border-radius: 0.5rem;
  outline: none;
  background: #374151;
  color: #fff;
  border: none;
  transition: background 0.2s;
  cursor: pointer;
  font-size: 1.1rem;
}
.theme-toggle-btn:hover {
  background: #4b5563;
}
.theme-toggle-icon {
  display: inline-block;
  vertical-align: middle;
}
@media (max-width: 768px) {
  .nav-main {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.5rem;
    padding: 0.5rem 0 0.5rem 0;
  }
  .nav-brand {
    margin-bottom: 0.5rem;
    margin-left: 0;
  }
  .theme-toggle-btn {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }
}

/* Responsive nav bar for mobile */
.nav-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 2rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  background: rgba(15, 15, 22, 0.65);
  border-bottom: 1px solid rgba(56, 189, 248, 0.1);
  z-index: 100;
  min-height: 60px;
  box-sizing: border-box;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav-brand {
  font-size: 1.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, #38bdf8, #0ea5e9, #38bdf8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: gradient-text 4s ease infinite;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 10px rgba(56, 189, 248, 0.3);
}

.theme-toggle-btn {
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #fff;
  font-size: 1.2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.theme-toggle-btn:hover {
  background: rgba(56, 189, 248, 0.2);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .nav-main {
    padding: 0.5rem 1rem;
    min-height: 55px;
  }
  .nav-brand {
    font-size: 1.4rem;
  }
  .theme-toggle-btn {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
}

/* Enhanced background effects for hero section */
.hero-section::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(56, 189, 248, 0.2) 0%,
    transparent 70%
  );
  filter: blur(40px);
  top: -150px;
  right: -150px;
  z-index: -1;
  animation: float 8s ease-in-out infinite alternate;
}

.hero-section::after {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(14, 165, 233, 0.15) 0%,
    transparent 70%
  );
  filter: blur(40px);
  bottom: -100px;
  left: -100px;
  z-index: -1;
  animation: float 10s ease-in-out infinite alternate-reverse;
}

@keyframes float {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(20px, 20px);
  }
}

.hero-img {
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  margin-bottom: 2rem;
  object-fit: cover;
  /* Premium image styling with animated gradient border */
  border: 4px solid transparent;
  background-image: var(--gold-gradient);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  background-size: 300% 100%;
  animation: gradient-shift 5s ease infinite;
  /* Enhanced 3D effect with shadow */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 0 8px rgba(15, 15, 18, 0.5),
    0 0 30px rgba(56, 189, 248, 0.5);
  /* Subtle hover animation */
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: translateY(0) scale(1);
  position: relative;
  z-index: 2;
}

/* Add a pulsing glow effect */
.hero-img::after {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(56, 189, 248, 0.3) 0%,
    transparent 70%
  );
  z-index: -1;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
  100% {
    transform: scale(0.95);
    opacity: 0.5;
  }
}

/* Add hover effect to hero image */
.hero-section:hover .hero-img {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 0 8px rgba(15, 15, 18, 0.5),
    0 0 40px rgba(56, 189, 248, 0.6);
}
.hero-title {
  font-size: 3.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
  font-family: "Allura", cursive;
}

/* Premium hero title */
.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-title::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 4px;
  /* background: var(--gold-gradient); */
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  background-size: 200% 100%;
  /* animation: gradient-shift 3s ease infinite; */
}

.hero-typing {
  font-size: 1.5rem;
  color: #d1d5db;
  font-family: "Edu QLD Hand", cursive;
  max-width: 36rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.hero-socials {
  display: flex;
  gap: 1.1rem;
  justify-content: center;
  margin-top: 1.2rem;
}
.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.65em 1.4em;
  border-radius: 2em;
  font-weight: 600;
  font-size: 1.08rem;
  background: rgba(30, 41, 59, 0.18); /* semi-transparent glass effect */
  border: 1.5px solid rgba(56,189,248,0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--color-accent);
  box-shadow: 0 2px 16px 0 rgba(56,189,248,0.10);
  transition: background 0.22s, transform 0.18s, box-shadow 0.18s, border 0.18s;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.02em;
}
.hero-link:hover {
  background: rgba(56, 189, 248, 0.18);
  color: #fff;
  border: 1.5px solid var(--color-accent-light);
  box-shadow: 0 6px 24px 0 rgba(56,189,248,0.18);
}
.hero-link:active {
  background: rgba(255,255,255,0.75);
}
.hero-link i {
  color: #0ea5e9;
}

/* About Section */
.about-section {
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.about-title {
  font-size: 2.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
  text-align: center;
  color: #fff;
}
.about-card {
  background: rgba(39, 39, 42, 0.6);
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.15);
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
}
.about-card {
  background: var(--glass-bg);
  border-radius: 1rem;
  padding: 2rem;
  border: var(--premium-border);
  box-shadow: var(--premium-shadow);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;

  
}
.about-card::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -40%;
  width: 180%;
  height: 180%;
  background: radial-gradient(
    circle,
    rgba(56, 189, 248, 0.1) 0%,
    transparent 70%
  );
  z-index: 0;
  pointer-events: none;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}
.about-label {
  font-weight: 600;
  color: #38bdf8;
}
.about-label {
  color: #38bdf8;
  font-weight: 600;
  letter-spacing: 1px;
  text-shadow: 0 0 5px rgba(56, 189, 248, 0.5);
  display: block;
  margin-bottom: 0.5rem;
  position: relative;
  font-size: 0.9rem;
  text-transform: uppercase;
}
.about-link {
  text-decoration: underline;
  color: #38bdf8;
  transition: color 0.2s;
}
.about-link {
  position: relative;
  color: var(--color-accent);
  text-decoration: none;
  transition: all 0.3s;
  font-weight: 500;
  display: inline-block;
}

.about-link::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  background: var(--color-accent);
  bottom: -2px;
  left: 0;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
  box-shadow: 0 0 4px rgba(56, 189, 248, 0.5);
}

.about-link:hover {
  color: var(--color-accent-light);
  text-shadow: 0 0 8px rgba(56, 189, 248, 0.3);
}

.about-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.about-desc {
  color: #9ca3af;
  font-size: 1.125rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
  text-align: center;
  background: rgba(30, 41, 59, 0.35);
  padding: 1.5rem 2rem;
  border-radius: 0.75rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(30, 41, 59, 0.5);
  transition: all 0.3s ease;
}

.about-desc:hover {
  background: rgba(30, 41, 59, 0.4);
  transform: translateY(-1px);
  border-color: rgba(30, 41, 59, 0.6);
}

/* Projects Section */
.projects-section {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.projects-title {
  font-size: 2.25rem;
  font-weight: 600;
  margin-bottom: 2.5rem;
  letter-spacing: 0.04em;
  text-align: center;
  color: #fff;
}
.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 900px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}
.project-card {
  background: #111111;
  padding: 1.5rem;
  border-radius: 0.5rem;
  transition: background 0.3s, box-shadow 0.3s, z-index 0.3s,
    transform 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  border: 1px solid #333;
  display: block;
}
.project-card:hover {
  background: #222222;
  color: #ddd;
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
  z-index: 2;
  position: static;
  left: auto;
  transform: none !important;
}
.project-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}
.project-logo {
  width: 2rem;
  height: 2rem;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #38bdf8;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  margin-left: 1rem;
}
.project-card:hover .project-logo {
  transform: scale(1.2) translateY(-2px);
  background: rgba(56, 189, 248, 0.2);
  border-color: #38bdf8;
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
  color: #0ea5e9;
}
.project-desc {
  color: #9ca3af;
}

/* Contact Section */
.contact-section {
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
  text-align: center;
  position: relative;
}
.contact-title {
  font-size: 2.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
  color: #fff;
}
.contact-desc {
  color: #9ca3af;
  margin-bottom: 1.5rem;
}
.contact-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.contact-link {
  position: relative;
  padding: 0.75rem 1.5rem;
  background: var(--glass-bg);
  border-radius: 50px;
  color: #fff;
  text-decoration: none;
  border: var(--premium-border);
  transition: all 0.3s;
  backdrop-filter: blur(5px);
  box-shadow: var(--premium-shadow);
  overflow: hidden;
}
.contact-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: all 0.6s;
}
.contact-link:hover {
  transform: translateY(-5px);
  background: linear-gradient(
    135deg,
    rgba(56, 189, 248, 0.2),
    rgba(14, 165, 233, 0.1)
  );
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--color-accent);
  box-shadow: 0 12px 30px rgba(14, 165, 233, 0.15);
}
.contact-link:hover::before {
  left: 100%;
}

/* Footer styles */
footer {
  background: #111;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-content {
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.footer-logo {
  font-size: 2rem;
  font-weight: 800;
  color: #38bdf8;
  margin-bottom: 1rem;
}
.footer-slogan {
  font-size: 1.125rem;
  color: #9ca3af;
  margin-bottom: 2rem;
  text-align: center;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.footer-link {
  color: #38bdf8;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-link:hover {
  color: #0ea5e9;
}
.footer-socials {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}
.footer-social-link {
  color: #38bdf8;
  font-size: 1.5rem;
  transition: color 0.2s;
}
.footer-social-link:hover {
  color: #0ea5e9;
}

/* Footer Section */
.site-footer {
  position: relative;
  border-top: var(--premium-border);
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  margin-top: 4rem;
  text-align: center;
  background: linear-gradient(to top, rgba(15, 15, 18, 0.9), transparent);
  backdrop-filter: blur(5px);
}
.footer-slogan {
  position: relative;
  display: inline-block;
}
.footer-slogan::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--silver-gradient);
  background-size: 200% 100%;
  animation: gradient-shift 3s ease infinite;
}

@media (min-width: 768px) {
  .site-footer {
    margin-top: 0;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .nav-main {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.5rem;
    padding: 0.5rem 0 0.5rem 0;
  }
  .nav-brand {
    margin-bottom: 0.5rem;
    margin-left: 0;
  }
  .theme-toggle-btn {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }
  .hero-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  .about-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .project-card {
    padding: 1rem;
  }
  .footer-content {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .footer-links {
    flex-direction: column;
    align-items: center;
  }
  .footer-socials {
    justify-content: center;
  }
}
body.light .hero-typing,
html.light .hero-typing {
  color: #18181b !important;
}
body.light,
html.light {
  color: #18181b;
}
body.light .about-title,
body.light .projects-title,
body.light .contact-title,
body.light .hero-title,
body.light .nav-brand,
body.light .project-title {
  color: #18181b !important;
}
body.light .about-card,
body.light .project-card {
  background: #fff !important;
  color: #18181b !important;
  border-color: #e5e7eb !important;
}
body.light .about-label,
body.light .about-link,
body.light .project-logo {
  color: #0ea5e9 !important;
}
body.light .about-link:hover,
body.light .project-logo:hover {
  color: #0284c7 !important;
}
body.light .project-desc,
body.light .about-desc,
body.light .contact-desc {
  color: #444 !important;
}
body.light .hero-link,
body.light .contact-link {
  color: #0ea5e9 !important;
}
body.light .hero-link:hover,
body.light .contact-link:hover {
  color: #0ea5e9 !important;
}
body.light .site-footer {
  color: #18181b !important;
  background: #f1f5f9 !important;
}
body.light .footer-slogan {
  color: #18181b !important;
}

/* Premium background glow */
body::before {
  content: "";
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at center,
    transparent 0%,
    rgba(10, 10, 15, 0.95) 30%,
    rgba(5, 5, 10, 0.98) 60%
  );
  z-index: -1;
  animation: subtle-pulse 15s ease-in-out infinite alternate;
}

@keyframes subtle-pulse {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-3%, -3%);
  }
}

/* Premium heading style */
h1,
h2,
h3 {
  position: relative;
}

/* Remove golden underline from headings */
h2::after,
.about-title::after,
.projects-title::after,
.contact-title::after {
  display: none !important;
  content: none !important;
}

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

/* Premium theme toggle */
.theme-toggle-btn {
  background: var(--glass-bg);
  border: var(--premium-border);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(5px);
  transition: all 0.3s;
}

.theme-toggle-btn:hover {
  background: rgba(56, 189, 248, 0.1);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
}

/* Hide scrollbar but keep scrolling functionality */
::-webkit-scrollbar {
  width: 0;
  display: none; /* Safari and Chrome */
}

/* Hide scrollbar for Firefox */
html {
  scrollbar-width: none;
}

/* Hide scrollbar for IE/Edge */
body {
  -ms-overflow-style: none;
}

/* Skills Graph Section */
.skills-section {
  max-width: 48rem;
  margin: 0 auto 3rem auto;
  padding: 3rem 1.5rem 2rem 1.5rem;
  /* Remove background and border for a clean look */
  background: none;
  border-radius: 0;
  box-shadow: none;
  border: none;
  backdrop-filter: none;
  position: relative;
  overflow: visible;
}
.skills-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2.5rem;
  color: #fff;
  letter-spacing: 0.04em;
  position: relative;
}
body.light .skills-title {
  color: #18181b;
}
.skills-graph {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
.skill-bar {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  position: relative;
  justify-content: center;
}
.skill-label {
  min-width: 110px;
  font-weight: 600;
  color: var(--color-accent);
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  text-align: right;
}
.skill-bar-bg {
  flex: 1;
  height: 18px;
  background: rgba(56, 189, 248, 0.1);
  border-radius: 999px;
  overflow: visible;
  position: relative;
  border: none;
  box-shadow: 0 2px 12px 0 rgba(56, 189, 248, 0.1);
}
.skill-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #38bdf8 0%, #0ea5e9 100%);
  border-radius: 999px;
  box-shadow: 0 0 16px 2px rgba(56, 189, 248, 0.25),
    0 2px 8px 0 rgba(14, 165, 233, 0.1);
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  /* Add animated stripes */
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12) 0 8px,
    transparent 8px 16px
  );
  background-size: 40px 40px, 100% 100%;
  animation: skill-stripes 2s linear infinite;
}
@keyframes skill-stripes {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 40px 0, 0 0;
  }
}
.skill-percent {
  min-width: 48px;
  text-align: left;
  font-weight: 700;
  color: #38bdf8;
  font-size: 1.1rem;
  margin-left: 0.5rem;
  text-shadow: 0 1px 6px rgba(56, 189, 248, 0.15);
}
body.light .skill-percent {
  color: #0ea5e9;
}

@media (max-width: 600px) {
  .skills-section {
    padding: 2rem 0.5rem 1.5rem 0.5rem;
    border-radius: 0;
  }
  .skills-title {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
  }
  .skill-label {
    min-width: 70px;
    font-size: 1rem;
  }
  .skill-bar {
    max-width: 100%;
  }
  .skill-percent {
    min-width: 36px;
    font-size: 1rem;
  }
}

/* Modern Neon Skills Grid Section */
.skills-modern-section {
  background: #18181b;
  padding: 3rem 1rem 3.5rem 1rem;
  border-radius: 2rem;
  max-width: 1200px;
  margin: 3rem auto 3rem auto;
  box-shadow: 0 8px 40px 0 rgba(0, 0, 0, 0.25);
}
.skills-modern-title {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2.5rem;
  letter-spacing: 0.04em;
  text-shadow: 0 0 4px rgba(56, 189, 248, 0.3); /* Dimmed from previous bright glow */
}
.skills-modern-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.2rem 1.5rem;
  justify-items: center;
}
@media (max-width: 1024px) {
  .skills-modern-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .skills-modern-grid {
    grid-template-columns: 1fr;
  }
  .skills-modern-section {
    padding: 2rem 0.5rem 2.5rem 0.5rem;
  }
}
.skill-modern-card {
  background: #23232b;
  border-radius: 1.2rem;
  padding: 2.2rem 1.2rem 1.2rem 1.2rem;
  min-width: 120px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 2px 24px 0 rgba(0, 0, 0, 0.18);
  border: 2.5px solid transparent;
  position: relative;
  transition: box-shadow 0.3s, border-color 0.3s, transform 0.25s;
  cursor: pointer;
}
.skill-modern-icon {
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s, filter 0.25s;
}
.skill-modern-label {
  color: #fff;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-align: center;
  margin-top: 0.2rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
.skill-modern-card:hover {
  box-shadow: 0 0 32px 4px var(--neon-glow, #38bdf8),
    0 2px 24px 0 rgba(0, 0, 0, 0.18);
  border-color: var(--neon-glow, #38bdf8);
  transform: scale(1.06);
}
.skill-modern-card:hover .skill-modern-icon {
  filter: drop-shadow(0 0 12px var(--neon-glow, #38bdf8));
  
  transform: scale(1.13);
}

/* === My Skills Section Styles (No Backgrounds Anywhere) === */
.skills-modern-section {
  padding: 64px 0 48px 0;
  background: none !important;
  min-height: unset;
  width: 100%;
}

.skills-modern-title {
  text-align: center;
  font-size: 2.2rem;
  font-family: "Sora", "JetBrains Mono", monospace;
  color: #fff;
  margin-bottom: 2rem;
  letter-spacing: 2px;
  text-shadow: 0 0 8px #fff, 0 0 24px #fff, 0 0 32px #00f0ff;
  animation: fadeInGlow 1.2s ease;
  background: none !important;
}

@keyframes fadeInGlow {
  from {
    opacity: 0;
    filter: blur(8px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}

.skills-modern-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  background: none !important;
}

@media (max-width: 1024px) {
  .skills-modern-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .skills-modern-grid {
    grid-template-columns: 1fr;
  }
}

.skill-modern-card {
  border-radius: 1.5rem;
  border: 3.5px solid;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 0.5rem;
  min-height: 120px;
  background: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: transform 0.4s cubic-bezier(0.4, 2, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.4, 2, 0.3, 1),
    border-color 0.4s cubic-bezier(0.4, 2, 0.3, 1);
  position: relative;
  animation: floatCard 2.5s ease-in-out infinite alternate;
  cursor: pointer;
  background-clip: border-box;
}

@keyframes floatCard {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-12px);
  }
}

.skill-modern-card:hover {
  transform: scale(1.05) translateY(-6px);
  box-shadow: 0 0 32px 8px var(--neon-glow, #00f0ff);
  border-color: var(--neon-glow, #00f0ff);
  z-index: 2;
}

.skill-modern-icon.big-icon {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: filter 0.4s, transform 0.4s;
  background: none !important;
}

.skill-modern-card:hover .skill-modern-icon.big-icon {
  filter: brightness(1.4) drop-shadow(0 0 16px var(--neon-glow, #00f0ff));
  transform: scale(1.12);
}

.skill-modern-label.big-label {
  font-size: 1rem;
  font-family: "Sora", "JetBrains Mono", monospace;
  color: #fff;
  letter-spacing: 1px;
  text-align: center;
  text-shadow: 0 0 8px #000, 0 0 16px var(--neon-glow, #00f0ff);
  background: none !important;
}

/* Neon border color classes (customize as needed) */
.neon-blue {
  border-color: #00f0ff;
  --neon-glow: #00f0ff;
}
.neon-red {
  border-color: #ff0059;
  --neon-glow: #ff0059;
}
.neon-green {
  border-color: #00ff99;
  --neon-glow: #00ff99;
}
.neon-yellow {
  border-color: #ffe600;
  --neon-glow: #ffe600;
}
.neon-purple {
  border-color: #a259ff;
  --neon-glow: #a259ff;
}
.neon-orange {
  border-color: #ff9900;
  --neon-glow: #ff9900;
}
.neon-cyan {
  border-color: #00fff7;
  --neon-glow: #00fff7;
}
.neon-pink {
  border-color: #ff4ecd;
  --neon-glow: #ff4ecd;
}
.neon-white {
  border-color: #fff;
  --neon-glow: #fff;
}

@media (max-width: 400px) {
  .skills-modern-title {
    font-size: 1.3rem;
  }
  .skill-modern-card {
    min-height: 80px;
    padding: 0.7rem 0.2rem;
  }
  .skill-modern-icon.big-icon {
    font-size: 1.7rem;
  }
  .skill-modern-label.big-label {
    font-size: 0.85rem;
  }
}

/* === Developer Portfolio Full-Screen Background === */
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  min-width: 100vw;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
  /* Deep purple/blue gradient */
  background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
  font-family: "Inter", "Unbounded", Arial, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Animated Floating Particles */
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.7;
  background: linear-gradient(135deg, #fff 0%, #a259ff 100%);
  filter: blur(0.5px);
  animation: float-particle 12s linear infinite;
}
@keyframes float-particle {
  0% {
    transform: translateY(0) scale(1);
  }
  100% {
    transform: translateY(-100vh) scale(0.8);
  }
}

/* Blurred Radial Circles */
.blurred-circles {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  mix-blend-mode: lighten;
}
.circle1 {
  width: 340px;
  height: 340px;
  background: #a259ff;
  top: 8%;
  left: 10%;
  animation: move1 18s ease-in-out infinite alternate;
}
.circle2 {
  width: 220px;
  height: 220px;
  background: #38bdf8;
  bottom: 12%;
  right: 14%;
  animation: move2 22s ease-in-out infinite alternate;
}
.circle3 {
  width: 180px;
  height: 180px;
  background: #fff;
  top: 60%;
  left: 60%;
  opacity: 0.18;
  animation: move3 20s ease-in-out infinite alternate;
}
@keyframes move1 {
  0% {
    transform: translateY(0) scale(1);
  }
  100% {
    transform: translateY(40px) scale(1.1);
  }
}
@keyframes move2 {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-40px);
  }
}
@keyframes move3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.2);
  }
}

/* Glassmorphism Container */
.glass-container {
  position: relative;
  z-index: 10;
  margin: auto;
  padding: 3.5rem 2.5rem 2.5rem 2.5rem;
  border-radius: 2rem;
  background: rgba(30, 32, 50, 0.25);
  box-shadow: 0 8px 40px 0 rgba(0, 0, 0, 0.25), 0 0 0 2.5px #a259ff44;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 2.5px solid rgba(162, 89, 255, 0.25);
  outline: 2.5px solid #a259ff;
  outline-offset: -6px;
  transition: box-shadow 0.3s, outline-color 0.3s;
  text-align: center;
}
.glass-container:hover,
.glass-container:focus-within {
  box-shadow: 0 0 32px 8px #a259ff, 0 8px 40px 0 rgba(0, 0, 0, 0.25);
  outline-color: #fff;
}

/* Neon Heading & Typography */
.neon-heading {
  font-family: "Unbounded", "Inter", Arial, sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 1.2rem;
  text-shadow: 0 0 8px #fff, 0 0 24px #a259ff, 0 0 32px #a259ff;
  animation: neon-glow 1.5s ease-in-out infinite alternate;
}
@keyframes neon-glow {
  0% {
    text-shadow: 0 0 8px #fff, 0 0 24px #a259ff, 0 0 32px #a259ff;
  }
  100% {
    text-shadow: 0 0 16px #fff, 0 0 40px #a259ff, 0 0 64px #a259ff;
  }
}
.subtitle {
  font-family: "Inter", Arial, sans-serif;
  font-size: 1.2rem;
  color: #e0e0ff;
  letter-spacing: 1.5px;
  margin-bottom: 0;
  opacity: 0.85;
}

/* Responsive Centering */
body,
.glass-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
@media (max-width: 600px) {
  .glass-container {
    padding: 1.5rem 0.7rem;
    border-radius: 1.1rem;
  }
  .neon-heading {
    font-size: 1.5rem;
  }
  .subtitle {
    font-size: 1rem;
  }
  .circle1,
  .circle2,
  .circle3 {
    width: 120px !important;
    height: 120px !important;
    filter: blur(30px);
  }
}

/* Accessibility & Misc */
*:focus {
  outline: none;
}
html,
body,
.page-content {
  height: auto !important;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
}

/* Attractive About Section Styles */
.about-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5rem 1.5rem 3rem 1.5rem;
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.about-section::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(56, 189, 248, 0.06) 0%,
    transparent 70%
  );
  filter: blur(40px);
  top: 10%;
  right: -10%;
  z-index: -1;
  opacity: 0.6;
}

.about-section::after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(14, 165, 233, 0.05) 0%,
    transparent 70%
  );
  filter: blur(40px);
  bottom: 10%;
  left: -10%;
  z-index: -1;
  opacity: 0.6;
}

.about-title {
  font-size: 2.5rem;
  font-family: "Sora", "JetBrains Mono", monospace, sans-serif;
  color: #38bdf8;
  text-shadow: 0 0 8px rgba(56, 189, 248, 0.2), 0 0 15px rgba(56, 189, 248, 0.1);
  margin-bottom: 2.5rem;
  letter-spacing: 2px;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.about-title::after {
  content: "";
  position: absolute;
  width: 60%;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(56, 189, 248, 0.05),
    rgba(56, 189, 248, 0.4),
    rgba(56, 189, 248, 0.05)
  );
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  box-shadow: 0 0 5px rgba(56, 189, 248, 0.2);
}

.about-card {
  background: transparent;
  border-radius: 1.5rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
  border: none;
  backdrop-filter: none;
  padding: 2.5rem 2rem;
  margin-bottom: 2rem;
  max-width: 700px;
  width: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.about-card:hover {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
}

.about-card::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -40%;
  width: 180%;
  height: 180%;
  background: radial-gradient(
    circle,
    rgba(56, 189, 248, 0.08) 0%,
    transparent 70%
  );
  z-index: 0;
  pointer-events: none;
}
.about-grid {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.2rem;
  z-index: 1;
  position: relative;
  width: 100%;
}

.about-grid > div {
  flex: 1;
  background: rgba(30, 41, 59, 0.35);
  border-radius: 0.75rem;
  padding: 1rem 1.5rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(30, 41, 59, 0.5);
}

.about-grid > div:hover {
  background: rgba(30,  41, 59, 0.4);
  transform: translateY(-1px);
  border-color: rgba(30, 41, 59, 0.6);
}

.about-grid > div::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at center,
    rgba(56, 189, 248, 0.08),
    transparent 70%
  );
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s, transform 0.3s;
  z-index: -1;
}

.about-grid > div:hover::before {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 768px) {
  .about-card {
    padding: 1.5rem 1rem;
  }
  .about-title {
    font-size: 2rem;
  }
  .about-grid {
    flex-direction: column;
    gap: 1rem;
  }
  .about-grid > div {
    padding: 0.9rem 1.2rem;
  }
}

@media (max-width: 600px) {
  .about-card {
    padding: 1.2rem 0.7rem;
  }
  .about-grid > div {
    padding: 0.8rem 1rem;
  }
}

/* Skill Cards Animation */
.skill-modern-card {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.skill-modern-card.animate-skill-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Dim all glows and neon effects */
.skill-modern-card,
.neon-blue,
.neon-orange,
.neon-yellow,
.neon-red,
.neon-purple,
.neon-green,
.neon-cyan,
.neon-white {
  box-shadow: 0 0 12px 2px rgba(0, 255, 255, 0.10),
    0 0 24px 4px rgba(0, 255, 255, 0.07),
    0 0 0px 0px rgba(0,0,0,0.02);
}

/* Dim text glows */
.big-label, .skill-modern-label, .footer-slogan, .footer-update {
  text-shadow: 0 0 6px rgba(0,255,255,0.10), 0 0 12px rgba(0,255,255,0.07);
}

/* Dim about section shadow (if not already present) */
.about-section {
  box-shadow: 0 2px 12px 0 rgba(31, 38, 135, 0.07);
}

/* Custom styles for light mode */
body.light {
  --color-bg: #f8fafc;
  --color-text: #18181b;
  --color-card: #ffffff;
  --color-link: #0ea5e9;
  --color-link-hover: #0284c7;
  --color-accent: #38bdf8;
  --color-accent-light: #0ea5e9;
  --color-nav-light: #0ea5e9;
  --color-project-light: #e0f2fe;
}

/* Override specific styles for light mode */
body.light .hero-section {
  background: linear-gradient(135deg, #e0f2fe 0%, #ffffff 100%);
  color: #18181b;
}
body.light .hero-title {
  color: #0ea5e9;
  text-shadow: 0 2px 10px rgba(14, 165, 233, 0.3);
}
body.light .hero-link {
  background: rgba(255, 255, 255, 0.55);
  color: var(--color-accent-light);
  border: 1.5px solid rgba(14,165,233,0.18);
  box-shadow: 0 2px 16px 0 rgba(14,165,233,0.10);
  backdrop-filter: blur(10px);
}
body.light .hero-link:hover {
  background: linear-gradient(90deg, #e0f2fe 0%, #bae6fd 100%);
  color: #0284c7;
  border: 1.5px solid #0ea5e9;
  box-shadow: 0 6px 24px 0 rgba(14,165,233,0.18);
}
body.light .hero-link:active {
  background: rgba(255,255,255,0.75);
}
body.light .hero-link i {
  color: #0ea5e9;
}
body.light .about-title,
body.light .projects-title,
body.light .contact-title,
body.light .hero-title,
body.light .nav-brand,
body.light .project-title {
  color: #18181b !important;
}
body.light .about-card,
body.light .project-card {
  background: #fff !important;
  color: #18181b !important;
  border-color: #e5e7eb !important;
}
body.light .about-label,
body.light .about-link,
body.light .project-logo {
  color: #0ea5e9 !important;
}
body.light .about-link:hover,
body.light .project-logo:hover {
  color: #0284c7 !important;
}
body.light .project-desc,
body.light .about-desc,
body.light .contact-desc {
  color: #444 !important;
}
body.light .hero-link,
body.light .contact-link {
  color: #0ea5e9 !important;
}
body.light .hero-link:hover,
body.light .contact-link:hover {
  color: #0ea5e9 !important;
}
body.light .site-footer {
  color: #18181b !important;
  background: #f1f5f9 !important;
}
body.light .footer-slogan {
  color: #18181b !important;
}

/* Premium background glow */
body::before {
  content: "";
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at center,
    transparent 0%,
    rgba(10, 10, 15, 0.95) 30%,
    rgba(5, 5, 10, 0.98) 60%
  );
  z-index: -1;
  animation: subtle-pulse 15s ease-in-out infinite alternate;
}

@keyframes subtle-pulse {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-3%, -3%);
  }
}

/* Premium heading style */
h1,
h2,
h3 {
  position: relative;
}

/* Remove golden underline from headings */
h2::after,
.about-title::after,
.projects-title::after,
.contact-title::after {

  
  display: none !important;
  content: none !important;
}

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

/* Premium theme toggle */
.theme-toggle-btn {
  background: var(--glass-bg);
  border: var(--premium-border);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(5px);
  transition: all 0.3s;
}

.theme-toggle-btn:hover {
  background: rgba(56, 189, 248, 0.1);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
}

/* Hide scrollbar but keep scrolling functionality */
::-webkit-scrollbar {
  width: 0;
  display: none; /* Safari and Chrome */
}

/* Hide scrollbar for Firefox */
html {
  scrollbar-width: none;
}

/* Hide scrollbar for IE/Edge */
body {
  -ms-overflow-style: none;
}
