/* Geist Font - Sitewide */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@100..900&display=swap');

/* Modern CSS Variables */
/* * { 
  border: 1px solid red !important; 
} */
:root {
  /* Dark Theme (Default) */
  --bg-primary: #000000;
  --bg-secondary: #020208;
  --bg-tertiary: #050510;
  --accent-primary: #1e40af;
  --accent-secondary: #3b82f6;
  --accent-tertiary: #60a5fa;
  --text-primary: #ffffff;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --glass-bg: rgba(0, 0, 0, 0.4);
  --glass-border: rgba(255, 255, 255, 0.12);
  --shadow-glow: 0 0 30px rgba(30, 64, 175, 0.4);
  --gradient-primary: linear-gradient(135deg, #1e40af, #3b82f6);
  --gradient-secondary: linear-gradient(135deg, #3b82f6, #60a5fa);
  --gradient-tertiary: linear-gradient(135deg, #60a5fa, #1e40af);
}

/* Light Theme */
body.light-theme {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --accent-primary: #1e40af;
  --accent-secondary: #3b82f6;
  --accent-tertiary: #60a5fa;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(30, 64, 175, 0.15);
  --shadow-glow: 0 0 30px rgba(59, 130, 246, 0.2);
  --gradient-primary: linear-gradient(135deg, #1e40af, #3b82f6);
  --gradient-secondary: linear-gradient(135deg, #3b82f6, #60a5fa);
  --gradient-tertiary: linear-gradient(135deg, #60a5fa, #1e40af);
}

/* Base & Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Geist", "Inter", sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Single Page App Section Control */
.content-section {
  display: none; /* Hide all sections by default */
}

.content-section.active-section {
  display: block; /* Show only the active section */
  animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile-friendly animation without transform (prevents scroll height issues) */
@keyframes fadeInOnly {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.page-container {
  padding-top: 120px;
  min-height: calc(100vh - 100px); /* Adjust for footer height */
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

main {
  width: 100%;
  margin: 0 auto;
}

/* Dynamic Background & Particles */
.physics-background,
.physics-particles,
.floating-equations {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.physics-background {
  z-index: -10;
  background: 
    linear-gradient(135deg, rgba(10, 25, 70, 0.4) 0%,transparent 50%),
    linear-gradient(225deg, rgba(30, 64, 175, 0.3) 0%, transparent 50%),
    radial-gradient(
      circle at 20% 80%,
      rgba(30, 64, 175, 0.2) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(59, 130, 246, 0.2) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 40%,
      rgba(96, 165, 250, 0.15) 0%,
      transparent 50%
    );
}

/* Light Theme Background */
body.light-theme .physics-background {
  background: 
    linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
    linear-gradient(225deg, rgba(96, 165, 250, 0.06) 0%, transparent 50%),
    radial-gradient(
      circle at 20% 80%,
      rgba(59, 130, 246, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(96, 165, 250, 0.08) 0%,
      transparent 50%
    );
}

body.light-theme .equation {
  color: rgba(30, 64, 175, 0.15);
  opacity: 0.12;
}
.physics-particles {
  z-index: -9;
}
.floating-equations {
  z-index: -8;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--accent-primary);
  border-radius: 50%;
  opacity: 0.6;
  animation: float 20s infinite linear;
  will-change: transform;
  transform: translateZ(0);
}
@keyframes float {
  0% {
    transform: translateY(100vh) rotate(0deg);
  }
  100% {
    transform: translateY(-100vh) rotate(360deg);
  }
}

.equation {
  position: absolute;
  font-family: "Geist", "JetBrains Mono", monospace;
  color: var(--accent-primary);
  opacity: 0.08;
  font-size: 1.5rem;
  animation: floatEquation 20s linear infinite;
  font-weight: 500;
}
@keyframes floatEquation {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.08;
  }
  90% {
    opacity: 0.08;
  }
  100% {
    transform: translateY(-100vh) rotate(360deg);
    opacity: 0;
  }
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

/* Light Mode Header - Glassmorphism Effect */
body.light-theme header {
  background: rgba(255, 255, 255, 0.65);
  border-bottom: 1px solid rgba(30, 64, 175, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

body.light-theme header.scrolled {
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

header.scrolled {
  background: rgba(0, 0, 0, 0.6);
  box-shadow: var(--shadow-glow);
}
nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  width: 45px;
  height: 45px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.logo i {
  font-size: 1.3rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 5px rgba(59, 130, 246, 0.4));
  animation: atomSpin 8s linear infinite;
}

@keyframes atomSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.logo:hover {
  transform: scale(1.15);
}

.logo:hover i {
  filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.8));
}

/* Theme Toggle Button */
.theme-toggle {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-left: 1rem;
}

body.light-theme .theme-toggle {
  background: rgba(30, 64, 175, 0.1);
  border: 1px solid rgba(30, 64, 175, 0.2);
}

.theme-toggle:hover {
  transform: scale(1.1) rotate(15deg);
  background: rgba(59, 130, 246, 0.2);
  border-color: var(--accent-secondary);
}

.theme-toggle i {
  font-size: 1.2rem;
  color: #3b82f6;
  transition: transform 0.3s ease;
}

.theme-toggle:hover i {
  transform: rotate(25deg);
}

/* =============================================
   EXPANDABLE NAV COMPONENT
   ============================================= */
.expandable-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  border-radius: 1rem;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  padding: 0.3rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

body.light-theme .expandable-nav {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(30, 64, 175, 0.15);
  box-shadow: 0 4px 20px rgba(30, 64, 175, 0.08);
}

.expandable-nav-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0.5rem;
  border-radius: 0.75rem;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  font-family: "Geist", "Inter", sans-serif;
  cursor: pointer;
  transition: gap 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
              padding 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
              background-color 0.3s ease,
              color 0.3s ease;
  white-space: nowrap;
  overflow: hidden;
  text-decoration: none;
}

.expandable-nav-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}

body.light-theme .expandable-nav-btn:hover {
  background: rgba(30, 64, 175, 0.06);
  color: var(--text-secondary);
}

.expandable-nav-btn.active {
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(59, 130, 246, 0.12);
  color: var(--accent-secondary);
}

body.light-theme .expandable-nav-btn.active {
  background: rgba(30, 64, 175, 0.1);
  color: var(--accent-primary);
}

.expandable-nav-btn .nav-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke-width: 2;
}

.expandable-nav-btn span {
  display: inline-block;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.4s ease 0.1s;
  white-space: nowrap;
}

.expandable-nav-btn.active span {
  max-width: 120px;
  opacity: 1;
}

.nav-separator {
  width: 1.2px;
  height: 24px;
  background: var(--glass-border);
  margin: 0 0.25rem;
  flex-shrink: 0;
}

body.light-theme .nav-separator {
  background: rgba(30, 64, 175, 0.15);
}

/* Hide expandable nav on mobile, show hamburger instead */
@media (max-width: 768px) {
  .expandable-nav {
    display: none;
  }
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  padding: 0.7rem 1.5rem;
  border-radius: 25px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

/* Light Mode Nav Links */
body.light-theme .nav-links a {
  background: rgba(30, 64, 175, 0.05);
  border: 1px solid rgba(30, 64, 175, 0.15);
  color: var(--text-secondary);
}
.nav-links a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: var(--gradient-primary);
  transition: width 0.4s ease;
  z-index: -1;
  border-radius: 25px;
}
.nav-links a:hover::before,
.nav-links a.active::before {
  width: 100%;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
  border-color: var(--accent-primary);
}

/* Light Mode Active/Hover - White Text */
body.light-theme .nav-links a:hover,
body.light-theme .nav-links a.active {
  color: #ffffff;
}

/* Home Section Styles */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  padding-top: 80px;
  position: relative;
  padding-bottom: 80px;
}
.hero::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  background: conic-gradient(
    from 0deg,
    var(--accent-primary),
    var(--accent-secondary),
    var(--accent-tertiary),
    var(--accent-primary)
  );
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.1;
  animation: rotate 20s linear infinite;
  z-index: -1;
}
@keyframes rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
.hero h1,
.hero-headline {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 300;
  margin-bottom: 2rem;
  line-height: 1.1;
  letter-spacing: -0.025em;
  opacity: 0;
  transform: translateY(30px) scale(0.9);
  animation: popupAppear 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0s;
}

.hero h2,
.hero-headline-sub {
  font-weight: 300;
  margin-bottom: 2rem;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  opacity: 0;
  transform: translateY(30px) scale(0.9);
  animation: popupAppear 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.4s;
}

@keyframes popupAppear {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* PeerPrep Style: Pure White Text */
.white-text {
  color: #ffffff;
  display: inline-block;
  margin-right: 1rem;
  transition: color 0.3s ease;
}

/* Light Mode - Black Text for Name */
body.light-theme .white-text {
  color: #0f172a;
}

/* Clean Gradient Text - Matching React Component */
.gradient-text-span {
  background: linear-gradient(
    90deg,
    #2563eb,
    #4f46e5,
    #7c3aed
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

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

@keyframes textGlowPulse {
  0%, 100% {
    filter: drop-shadow(0 0 4px rgba(99, 102, 241, 0.2));
  }
  50% {
    filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.35));
  }
}

@keyframes textGlow {
  from {
    filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.3));
  }
  to {
    filter: drop-shadow(0 0 40px rgba(99, 102, 241, 0.3));
  }
}
.subtitle {
  font-size: 1.3rem;
  color: var(--text-secondary);
  font-family: "Geist", "JetBrains Mono", monospace;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
  text-align: center;
  overflow: hidden;
  white-space: normal;
  height: auto;
  display: block;
  opacity: 0;
  transform: translateY(30px) scale(0.9);
  animation: popupAppear 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.8s;
}

@keyframes typewriterReveal {
  from {
    max-height: 0;
    opacity: 0;
  }
  to {
    max-height: 200px;
    opacity: 1;
  }
}

/* Animation keyframes for the typing effect */
@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

/* Animation keyframes for the blinking cursor */
@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: var(--accent-primary);
  }
}
.profile-bio-section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.bio-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.bio-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}
.bio-text p {
  margin-bottom: 1.5rem;
}
.profile-side {
  display: flex;
  justify-content: center;
  align-items: center;
}
.profile-container {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.profile-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.ring {
  position: absolute;
  border: 2px solid transparent;
  border-radius: 50%;
  animation: spin 10s linear infinite;
  top: 50%;
  left: 50%;
  transform-origin: center;
}
.ring:nth-child(1) {
  width: 500px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 500px;
  border-top-color: var(--accent-primary);
  animation-duration: 8s;
}
.ring:nth-child(2) {
  width: 450px;
  height: 450px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-right-color: var(--accent-secondary);
  animation-duration: 12s;
  animation-direction: reverse;
}
.ring:nth-child(3) {
  width: 400px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 400px;
  border-bottom-color: var(--accent-tertiary);
  animation-duration: 15s;
}
@keyframes spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
.profile-img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  margin: 0 auto;
  display: block;
  border: 3px solid var(--glass-border);
  box-shadow: var(--shadow-glow);
  transition: all 0.3s ease;
}

.deleted {
  visibility: hidden;
}

.profile-img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 50px rgba(59, 130, 246, 0.5);
}
.quantum-grid {
  display: flex; /* Activates Flexbox */
  justify-content: space-between; /* Distributes the items evenly */
  gap: 2rem; /* Maintains the space between your cards */

  /* You can keep other styles like padding or max-width */
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.quantum-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease, border-color 0.4s ease;
  cursor: pointer;
  will-change: transform;
}
.quantum-card::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: left 0.6s ease;
}
.quantum-card:hover::before {
  left: 100%;
}
.quantum-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
  border-color: var(--accent-primary);
}
.card-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.quantum-card:nth-child(2) .card-icon {
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.quantum-card:nth-child(3) .card-icon {
  background: var(--gradient-tertiary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.quantum-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}
.quantum-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Page Content Styles (Projects, Skills, etc.) */
.page-hero {
  text-align: center;
  margin-bottom: 4rem;
}
.page-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.page-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}
.glow-icon {
  color: var(--accent-primary);
  filter: drop-shadow(0 0 10px var(--accent-primary));
  animation: pulse 2s ease-in-out infinite alternate;
}
@keyframes pulse {
  from {
    filter: drop-shadow(0 0 10px var(--accent-primary));
  }
  to {
    filter: drop-shadow(0 0 20px var(--accent-primary));
  }
}

/* Projects Grid */
.projects-grid,
.skills-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}
.project-card,
.skill-card,
.blog-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease, border-color 0.4s ease;
  will-change: transform;
}
.project-card:hover,
.skill-card:hover,
.blog-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
  border-color: var(--accent-primary);
}

/* Light Mode Cards */
body.light-theme .project-card:hover,
body.light-theme .skill-card:hover,
body.light-theme .blog-card:hover {
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
  border-color: var(--accent-secondary);
}
.project-icon,
.skill-icon,
.blog-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.project-card:nth-child(2) .project-icon,
.skill-card:nth-child(2) .skill-icon,
.blog-card:nth-child(2) .blog-icon {
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.project-card:nth-child(3) .project-icon,
.skill-card:nth-child(3) .skill-icon,
.blog-card:nth-child(3) .blog-icon {
  background: var(--gradient-tertiary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.project-card h3,
.skill-card h3,
.blog-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}
.project-card p,
.blog-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tag {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.85rem;
  border: 1px solid rgba(96, 165, 250, 0.4);
  transition: all 0.3s ease;
  font-weight: 500;
}

/* Light Mode Tags */
body.light-theme .tag {
  background: rgba(59, 130, 246, 0.1);
  color: #1e40af;
  border-color: rgba(59, 130, 246, 0.3);
}

body.light-theme .tag:hover {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.5);
  color: #1e40af;
}
.tag:hover {
  background: rgba(59, 130, 246, 0.25);
  border-color: rgba(96, 165, 250, 0.6);
  transform: translateY(-2px);
  color: #93c5fd;
}
.tag.secondary {
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  border-color: rgba(129, 140, 248, 0.4);
}

body.light-theme .tag.secondary {
  background: rgba(99, 102, 241, 0.1);
  color: #4f46e5;
  border-color: rgba(99, 102, 241, 0.3);
}
.tag.secondary:hover {
  background: rgba(99, 102, 241, 0.25);
  border-color: rgba(129, 140, 248, 0.6);
  color: #a5b4fc;
}
.tag.tertiary {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border-color: rgba(192, 132, 252, 0.4);
}

body.light-theme .tag.tertiary {
  background: rgba(168, 85, 247, 0.1);
  color: #a855f7;
  border-color: rgba(168, 85, 247, 0.3);
}
.tag.tertiary:hover {
  background: rgba(168, 85, 247, 0.25);
  border-color: rgba(192, 132, 252, 0.6);
  color: #d8b4fe;
}

/* =============================================
   GLOWING BORDER EFFECT (Mouse-tracking)
   ============================================= */
.quantum-card,
.project-card,
.skill-card,
.blog-card,
.course-tag,
.academic-info,
.contact-form-container,
.contact-info-container {
  --glow-start: 0;
  --glow-active: 0;
  --glow-spread: 40;
  --glow-border-width: 2px;
  position: relative;
}

/* The glow overlay */
.quantum-card::after,
.project-card::after,
.skill-card::after,
.blog-card::after,
.course-tag::after,
.academic-info::after,
.contact-form-container::after,
.contact-info-container::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  border: var(--glow-border-width) solid transparent;
  border-radius: inherit;
  background: 
    radial-gradient(circle, #60a5fa 10%, transparent 20%),
    radial-gradient(circle at 40% 40%, #3b82f6 5%, transparent 15%),
    radial-gradient(circle at 60% 60%, #6366f1 10%, transparent 20%),
    radial-gradient(circle at 40% 60%, #1e40af 10%, transparent 20%),
    repeating-conic-gradient(
      from 236.84deg at 50% 50%,
      #60a5fa 0%,
      #3b82f6 5%,
      #6366f1 10%,
      #1e40af 15%,
      #60a5fa 20%
    );
  background-attachment: fixed;
  opacity: var(--glow-active);
  transition: opacity 0.3s ease;
  -webkit-mask-clip: padding-box, border-box;
  mask-clip: padding-box, border-box;
  -webkit-mask-composite: source-out;
  mask-composite: intersect;
  -webkit-mask-image: 
    linear-gradient(#0000, #0000),
    conic-gradient(
      from calc((var(--glow-start) - var(--glow-spread)) * 1deg),
      #00000000 0deg,
      #fff,
      #00000000 calc(var(--glow-spread) * 2deg)
    );
  mask-image: 
    linear-gradient(#0000, #0000),
    conic-gradient(
      from calc((var(--glow-start) - var(--glow-spread)) * 1deg),
      #00000000 0deg,
      #fff,
      #00000000 calc(var(--glow-spread) * 2deg)
    );
  z-index: 1;
}

/* Light theme - slightly softer glow */
body.light-theme .quantum-card::after,
body.light-theme .project-card::after,
body.light-theme .skill-card::after,
body.light-theme .blog-card::after,
body.light-theme .course-tag::after,
body.light-theme .academic-info::after,
body.light-theme .contact-form-container::after,
body.light-theme .contact-info-container::after {
  background: 
    radial-gradient(circle, #3b82f6 10%, transparent 20%),
    radial-gradient(circle at 40% 40%, #1e40af 5%, transparent 15%),
    radial-gradient(circle at 60% 60%, #6366f1 10%, transparent 20%),
    radial-gradient(circle at 40% 60%, #4f46e5 10%, transparent 20%),
    repeating-conic-gradient(
      from 236.84deg at 50% 50%,
      #3b82f6 0%,
      #1e40af 5%,
      #6366f1 10%,
      #4f46e5 15%,
      #3b82f6 20%
    );
  background-attachment: fixed;
  --glow-border-width: 2px;
}

/* Ensure inner content stays above the glow */
.quantum-card > *,
.project-card > *,
.skill-card > *,
.blog-card > *,
.course-tag > *,
.academic-info > *,
.contact-form-container > *,
.contact-info-container > * {
  position: relative;
  z-index: 2;
}

.skill-card h3 {
  margin-bottom: 1.5rem;
}
.skill-list {
  list-style: none;
  padding: 0;
}
.skill-list li {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
}
.skill-list li::before {
  content: "▶";
  position: absolute;
  left: 0;
  color: var(--accent-primary);
  font-size: 0.8rem;
}
.skill-card:nth-child(2) .skill-list li::before {
  color: var(--accent-secondary);
}
.skill-card:nth-child(3) .skill-list li::before {
  color: var(--accent-tertiary);
}

/* Blog Section */

.heading {
  color: inherit;
  text-decoration: none;
}
.blog-grid {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}
.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.read-time {
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent-primary);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  border: 1px solid rgba(59, 130, 246, 0.2);
}
.date {
  font-family: "Geist", "JetBrains Mono", monospace;
}
.coming-soon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 0, 128, 0.2);
  color: #ff0080;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(255, 0, 128, 0.4);
  backdrop-filter: blur(10px);
  animation: comingSoonPulse 2s ease-in-out infinite;
}

@keyframes comingSoonPulse {
  0%, 100% {
    box-shadow: 0 0 3px rgba(255, 0, 128, 0.2);
  }
  50% {
    box-shadow: 0 0 8px rgba(255, 0, 128, 0.35);
  }
}

/* Coursework Section */
.coursework-container {
  max-width: 800px;
  margin: 0 auto;
}
.coursework-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 4rem;
}
.course-tag {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 25px;
  padding: 1rem 1.5rem;
  text-align: center;
  font-weight: 500;
  color: var(--text-primary);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
}
.course-tag:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
  border-color: var(--accent-primary);
  background: rgba(59, 130, 246, 0.1);
}

/* Light Mode Course Tags */
body.light-theme .course-tag:hover {
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.12);
  background: rgba(59, 130, 246, 0.08);
}
.academic-info {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 4rem;
  text-align: center;
}
.academic-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.academic-info p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.gpa-highlight {
  display: inline-block;
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent-primary);
  padding: 0.5rem 1rem;
  border-radius: 15px;
  font-weight: 700;
  font-size: 1.1rem;
  border: 1px solid rgba(59, 130, 246, 0.2);
  margin-top: 1rem;
}

/* Contact Section */
.contact-button {
  display: inline-block;
  margin-top: 2rem;
  padding: 1rem 2.5rem;
  background: var(--gradient-primary);
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 700;
  border-radius: 30px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}
.contact-button:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: var(--shadow-glow);
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--gradient-primary);
  z-index: 1001;
  transition: width 0.1s ease;
}

/* Footer */
footer {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--glass-border);
  padding: 3rem 0;
  text-align: center;
  margin-top: 4rem;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}
.social-links a {
  color: var(--text-secondary);
  font-size: 1.5rem;
  transition: all 0.3s ease;
  padding: 1rem;
  border-radius: 20%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
}
.social-links a:hover {
  color: var(--accent-primary);
  transform: translateY(-5px) scale(1.1);
  box-shadow: var(--shadow-glow);
}

/* Scroll Animations */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Quantum Loading Animation */
.quantum-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}
.quantum-loader.hidden {
  opacity: 0;
  pointer-events: none;
}
.loader-atom {
  width: 100px;
  height: 100px;
  position: relative;
}
.nucleus {
  width: 20px;
  height: 20px;
  background: var(--accent-primary);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 20px var(--accent-primary);
}
.electron-orbit {
  position: absolute;
  border: 2px solid var(--accent-secondary);
  border-radius: 50%;
  top: 50%;
  left: 50%;
}
.electron-orbit:nth-child(2) {
  width: 60px;
  height: 60px;
  animation: orbit 2s linear infinite;
}
.electron-orbit:nth-child(3) {
  width: 80px;
  height: 80px;
  animation: orbit 3s linear infinite reverse;
}
.electron-orbit:nth-child(4) {
  width: 100px;
  height: 100px;
  animation: orbit 4s linear infinite;
}
@keyframes orbit {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
.electron {
  width: 8px;
  height: 8px;
  background: var(--accent-tertiary);
  border-radius: 50%;
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 10px var(--accent-tertiary);
}

/* Mobile Responsiveness */
/* --- Responsive Design for Mobile Devices (Corrected) --- */

/* Add styles for the mobile menu elements first */
/* Update the hamburger menu styles in style.css */


/* Main Media Query for tablets and mobile phones */
/* --- Responsive Design for Mobile Devices (Definitive Fix) --- */

/* --- Responsive Design for Mobile Devices (Definitive Fix) --- */

/* Mobile Portrait Mode Only - Push hero content below navbar */
@media (max-width: 768px) and (orientation: portrait) {
    .hero {
        padding-top: 240px !important;
    }
}

@media (max-width: 768px) {
    /* --- General Layout Fix --- */
    html, body {
        width: 100%;
        overflow-x: hidden !important; /* Forcefully prevent horizontal scrolling */
        overflow-y: auto !important; /* Ensure vertical scrolling works */
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    }

    /* --- Navigation --- */
    nav {
        padding: 0 1.5rem;
    }
    .nav-links {
        display: none;
    }
    

    /* --- Home Page Fixes --- */

    /* 1. FIX for the "Theoretical Physics Enthusiast" Text */
    .hero {
        /* This ensures the container itself doesn't cause overflow */
        width: 100%;
        padding: 1rem;
        min-height: auto;
        height: auto;
        padding-top: 200px;
        padding-bottom: 60px;
        gap: 1rem;
        justify-content: flex-start;
    }
    .hero h1 {
        font-size: 2.5rem;
        word-wrap: break-word;
    }

.profile-bio-section {
    padding: 2rem 1rem;
    gap: 1.5rem;
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100%;
    margin: 0 auto;
    align-items: center;
}

/* Adjust profile image section */
.profile-side {
    margin: 1.5rem 0 0 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

.profile-container {
    margin: 0 auto;
    padding: 0;
    max-width: 220px;
}

.profile-img {
    width: 200px;
    height: 200px;
}
    .subtitle {
        font-size: 1.2rem;
        white-space: normal !important;  /* The KEY FIX: allows the long text to wrap */
        text-align: center;
        animation: none !important;      /* Disables the typing animation on mobile */
        border-right: none !important;   /* Removes the blinking cursor on mobile */
        width: 100% !important;          /* Force the element to stay within the screen */
    }

    /* 2. FIX for the "About Me" Picture and Section */
    .profile-bio-section {
        display: block !important;
        padding: 2rem 1rem;
        text-align: center;
        width: 100%;
    }
    .bio-content {
        width: 100%;
    }
    .profile-side {
        margin-top: 1.5rem;
        width: 100%;
    }
    .bio-content h2 {
        font-size: 1.8rem;
        background-position: center;
    }
    
    /* 3. FIX for the misaligned cards at the bottom */
    .quantum-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        padding: 2rem 1rem;
        width: 100%;
        gap: 1.5rem;
        margin: 0 auto;
    }
    
    /* --- General Styles for Other Pages --- */
    .page-container, .main {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .projects-grid, .skills-grid, .blog-grid, .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

/* --- iPad Air & Tablet Portrait Responsive Design (769px+) --- */
@media (min-width: 769px) and (orientation: portrait) {
    /* Profile section adjustments for tablets in portrait */
    .profile-bio-section {
        padding: 3rem 2rem;
        gap: 2rem;
        grid-template-columns: 1fr;
        max-width: 100%;
        margin: 0 auto;
        align-items: center;
    }
    
    .bio-content {
        order: 1;
    }
    
    .profile-side {
        order: 2;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    
    .profile-container {
        max-width: 320px;
        width: 320px;
        margin: 0 auto;
    }
    
    .profile-img {
        width: 280px;
        height: 280px;
    }
    
    .bio-content h2 {
        font-size: 2.2rem;
    }
    
    .bio-text {
        font-size: 1rem;
    }
    
    .quantum-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem;
        padding: 3rem 2rem;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .quantum-card {
        padding: 2rem;
    }
    
    nav {
        padding: 0 2rem;
        max-width: 100%;
    }
    
    .page-container {
        padding-top: 100px;
        padding-left: 2rem;
        padding-right: 2rem;
        max-width: 100%;
        margin: 0 auto;
    }
    
    main {
        width: 100%;
    }
    
    .hero {
        min-height: 70vh;
        padding: 2rem;
        padding-top: 130px;
        justify-content: flex-start;
    }
}

/* --- iPad Air Landscape Specific Fix (820px+) --- */
@media (min-width: 820px) and (max-width: 1024px) and (orientation: landscape) {
    .profile-bio-section {
        padding: 3rem 1.5rem;
        gap: 2rem;
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
    
    .profile-container {
        max-width: 220px;
        width: 220px;
    }
    
    .profile-img {
        width: 200px;
        height: 200px;
    }
    
    .bio-content h2 {
        font-size: 1.8rem;
    }
    
    .bio-text {
        font-size: 0.9rem;
    }
    
    .bio-text p {
        margin-bottom: 1rem;
    }
    
    .hero {
        min-height: 60vh;
        padding-top: 80px;
        padding: 1rem;
    }
}

/* --- Contact Section Styles --- */

.contact-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: flex-start;
}

/* Form Styling */
.contact-form-container form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  position: relative;
}

.contact-form-container input,
.contact-form-container textarea {
  width: 100%;
  padding: 1rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: "Geist", "Inter", sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.contact-form-container input::placeholder,
.contact-form-container textarea::placeholder {
  color: var(--text-muted);
}

.contact-form-container input:focus,
.contact-form-container textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.contact-submit-button {
  padding: 1rem 2rem;
  background: var(--gradient-primary);
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 30px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  align-self: flex-start; /* Align button to the left */
}

.contact-submit-button:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: var(--shadow-glow);
}

/* Info Panel Styling */
.contact-info-container {
  background: var(--glass-bg);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
}

.contact-info-container h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: var(--gradient-tertiary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-info-container .info-heading {
  margin-top: 2rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.info-item i {
  font-size: 1.2rem;
  color: var(--accent-primary);
}

.info-item a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.info-item a:hover {
  color: var(--accent-primary);
}

.info-social-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-social-links a {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease, transform 0.3s ease;
}

.info-social-links a:hover {
  color: var(--accent-primary);
  transform: translateX(5px);
}

.info-social-links i {
  font-size: 1.5rem;
  width: 25px; /* Aligns the text nicely */
}

/* Responsive adjustments for the contact page */
@media (max-width: 768px) {
    /* --- General Layout Fix --- */
    html, body {
        width: 100%;
        overflow-x: hidden !important;
    }

    /* --- Navigation --- */
    nav {
        padding: 0 1.5rem;
    }
    .nav-links {
        display: none;
    }
  

    /* --- Home Page Fixes --- */
    .hero {
        width: 100%;
        padding: 1rem;
        padding-top: 200px;
        min-height: auto;
        justify-content: flex-start;
    }

    .hero h1 {
        font-size: 2.5rem;
        word-wrap: break-word;
    }

    .hero h2 {
        font-size: 1.8rem;
        padding: 0 1rem;
        white-space: normal !important;
        overflow: visible;
        width: 100% !important;
    }

    .subtitle {
        font-size: 1.2rem;
        white-space: normal !important;
        width: 100% !important;
        animation: none !important;
        border-right: none !important;
    }

    /* Profile Section Fix */
    .profile-bio-section {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 2rem;
        padding: 4rem 1rem;
        text-align: center;
    }

    .profile-side {
        order: -1;
        margin: 0 auto;
    }

    .profile-container {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
        position: relative;
    }

    .profile-img {
        width: 200px;
        height: 200px;
        position: relative;
        left: 0;
        margin: 0 auto;
        display: block;
    }

    /* Hide rings on mobile */
    .ring {
        display: none;
    }

    /* Cards Grid Fix */
    .quantum-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        padding: 2rem 1rem;
        width: 100%;
    }

    .quantum-card {
        margin-bottom: 1rem;
    }

    /* Bio content fix */
    .bio-content {
        width: 100%;
        padding: 0 1rem;
    }
}

/* --- Blog Post Specific Styles --- */

.blog-post {
  /* Add these two new lines */
  display: flex;
  flex-direction: column;

  /* Keep all your existing styles below */
  max-width: 80ch;
  margin: 4rem auto;
  background: rgba(20, 20, 35, 0.6);
  padding: 2rem 3rem;
  border-radius: 20px;
  border: 1px solid rgba(59, 130, 246, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px 0 rgba(59, 130, 246, 0.15);
  transition: all 0.3s ease;
}

/* Light Mode Blog Post - Glassmorphism Effect */
body.light-theme .blog-post {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(30, 64, 175, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

.blog-header {
  text-align: center;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 2rem;
}

.blog-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}
#back-page {
  /* Aligns the button with the blog article below it */
  max-width: 80ch;
  margin: 8rem auto 0 auto;
  padding: 0 3rem; /* Matches the blog post's padding */
}

#back-page a {
  color: var(--accent-primary); /* Makes the link a bright, visible color */
  text-decoration: none; /* Removes the default underline */
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex; /* Aligns icon and text nicely */
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

#back-page a:hover {
  color: #ffffff;
  transform: translateX(-5px); /* Adds a subtle movement effect */
  font-weight: 700;
  transition: all 0.3s ease;
}

.blog-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 60ch;
  margin: 0 auto 1.5rem auto;
}

.blog-meta-info {
  display: flex;
  justify-content: center;
  gap: 2rem;
  color: var(--text-muted);
  font-family: "Geist", "JetBrains Mono", monospace;
}

.meta-item i {
  margin-right: 0.5rem;
  color: var(--accent-primary);
}

.blog-post section {
  margin-bottom: 2.5rem;
}

.blog-post h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 0.75rem;
}

.blog-post h2 i {
  color: var(--accent-secondary);
}

.blog-post p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.blog-post strong {
  color: var(--accent-primary);
  font-weight: 600;
}

.blog-post blockquote {
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--glass-bg);
  border-left: 4px solid var(--accent-primary);
  border-radius: 0 10px 10px 0;
  font-style: italic;
  color: var(--text-secondary);
}

.blog-post ul {
  list-style: none;
  padding-left: 0;
}

.blog-post ul li {
  padding-left: 2rem;
  position: relative;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.blog-post ul li::before {
  content: "⚛";
  position: absolute;
  left: 0;
  color: var(--accent-tertiary);
  font-size: 1.2rem;
  line-height: 1;
}

.equation-container {
  background: #000;
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 10px;
  text-align: center;
  font-size: 1.2rem;
  overflow-x: auto;
  border: 1px solid var(--glass-border);
}

/* Light Mode Equation Container - White Text */
body.light-theme .equation-container {
  background: #000;
  color: #ffffff;
}

body.light-theme .equation-container * {
  color: #ffffff !important;
}

.blog-figure {
  margin: 2rem 0;
  text-align: center;
}

.image-placeholder {
  --bg-primary: #000000;
  --bg-secondary: #0a0a1a;
  --bg-tertiary: #151530;
  --accent-primary: #3b82f6;
  --accent-secondary: #6366f1;
  --accent-tertiary: #a855f7;
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --shadow-glow: 0 0 30px rgba(59, 130, 246, 0.3);
  --gradient-primary: linear-gradient(135deg, #3b82f6, #6366f1);
  --gradient-secondary: linear-gradient(135deg, #6366f1, #a855f7);
  --gradient-tertiary: linear-gradient(135deg, #a855f7, #3b82f6);
  font-family: "Geist", "Inter", sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  text-align: center;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  position: relative;
  bottom: 90px;
}
.image-placeholder img {
  width: 100%; /* Makes the image fill the container's width */
  height: 100%; /* Makes the image fill the container's height */
  object-fit: cover; /* Ensures the image covers the area without distortion */
  border-radius: 15px; /* Matches the container's border radius */
}

.blog-figure figcaption {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
}

.takeaway-box {
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.05),
    rgba(99, 102, 241, 0.05)
  );
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  padding: 2rem;
  margin: 2rem 0;
}

.takeaway-box h3 {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.5rem;
  color: var(--accent-tertiary);
  margin-bottom: 1rem;
}

/* Field Equations blog */
/* --- Einstein Field Equations Blog Theme --- */

/* This class on the body tag activates the theme */
.gr-theme {
  /* Define a new set of accent colors for this post */
  --accent-primary: #3b82f6; /* Blue */
  --accent-secondary: #ffffff; /* White */
  --accent-tertiary: #60a5fa; /* Light Blue */
  --shadow-glow: 0 0 30px rgba(59, 130, 246, 0.3);
}

/* Override existing styles using the theme class */
.gr-theme .blog-header h1 {
  background: linear-gradient(
    135deg,
    #3b82f6,
    #60a5fa
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gr-theme .blog-post h2 i {
  color: var(--accent-primary);
}

.gr-theme .blog-post strong {
  color: var(--accent-primary);
}

.gr-theme .blog-post blockquote {
  border-left-color: var(--accent-primary);
}

.gr-theme .blog-post ul li::before {
  content: "🌌";
  color: var(--accent-secondary);
}

.gr-theme #back-page a,
.gr-theme .meta-item i {
  color: var(--accent-primary);
}

/* New, unique elements for this blog post */
.key-equation-box {
  text-align: center;
  padding: 2.5rem;
  margin: 3rem 0;
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  background: linear-gradient(
    145deg,
    rgba(65, 105, 225, 0.1),
    rgba(255, 215, 0, 0.1)
  );
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.key-equation-box h2 {
  border-bottom: none;
  justify-content: center;
  background: var(--gradient-tertiary); /* Use a different gradient */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.derivation-box {
  padding: 2.5rem;
  margin: 2rem 0;
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  background: var(--glass-bg);
}

.derivation-box ol {
  list-style: none;
  counter-reset: step-counter;
  padding-left: 0;
}

.derivation-box li {
  counter-increment: step-counter;
  margin-bottom: 2rem;
  padding-left: 3.5rem;
  position: relative;
  color: var(--text-secondary);
  line-height: 1.8;
}

.derivation-box li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  color: var(--bg-primary);
  font-family: "Geist", "JetBrains Mono", monospace;
  font-weight: 700;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

.equation-container-small {
  background: #000;
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 10px;
  text-align: center;
  font-size: 1.1rem;
  border: 1px solid var(--glass-border);
}

/* --- Forceful Fix for Blog Post Overlap --- */

.blog-post .blog-header,
.blog-post section {
  position: static !important;
}

.blog-icon i {
  color: yellow;
    --shadow-glow: 0 0 30px rgba(59, 130, 246, 0.3);
}

/* --- Responsive Design for Mobile Devices --- */

/* First, let's add styles for the new mobile menu elements */


.mobile-nav {
    position: fixed;
    top: 0;
    left: 100%; /* Start off-screen */
    width: 100%;
    height: 100vh;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: left 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1000;
}

.mobile-nav.active {
    left: 0; /* Slide in from the right */
}

.mobile-nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 2rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Stagger the animation of mobile nav links */
.mobile-nav.active a {
    opacity: 1;
    transform: translateY(0);
}
.mobile-nav.active a:nth-child(1) { transition-delay: 0.2s; }
.mobile-nav.active a:nth-child(2) { transition-delay: 0.3s; }
.mobile-nav.active a:nth-child(3) { transition-delay: 0.4s; }
.mobile-nav.active a:nth-child(4) { transition-delay: 0.5s; }
.mobile-nav.active a:nth-child(5) { transition-delay: 0.6s; }


/* .mobile-nav {
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem; /* Reduce gap between menu items */
    /* transition: left 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1000;
} */ 

.mobile-nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.5rem; /* Slightly smaller font size */
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.mobile-nav.active a {
    opacity: 1;
    transform: translateY(0);
}

/* Add hover effect */
.mobile-nav a:hover {
    color: var(--accent-primary);
    transform: scale(1.1);
}

/* Stagger the animation for each link */
.mobile-nav.active a:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav.active a:nth-child(2) { transition-delay: 0.2s; }
.mobile-nav.active a:nth-child(3) { transition-delay: 0.3s; }
.mobile-nav.active a:nth-child(4) { transition-delay: 0.4s; }
.mobile-nav.active a:nth-child(5) { transition-delay: 0.5s; }
.mobile-nav.active a:nth-child(6) { transition-delay: 0.6s; }


/* Add this to your style.css */
.scroll-down-indicator {
    display: none;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-primary);
    font-size: 2rem;
    animation: bounce 3s infinite;
    cursor: pointer;
    z-index: 5;
    pointer-events: none;
}

@media (max-width: 768px) {
    .scroll-down-indicator {
        position: absolute;
        bottom: 10px;
        z-index: 5;
        pointer-events: none;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-30px);
    }
    
    60% {
        transform: translateX(-50%) translateY(-15px);
    }
}


/* --- Hamburger Menu & Mobile Navigation --- */

.hamburger-menu {
    display: none; /* Hidden on desktop */
    cursor: pointer;
    z-index: 1002; /* Ensures it's on top of other content */
}

.hamburger-menu .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 5px 0;
    transition: all 0.4s ease-in-out;
}

/* Animate hamburger to an 'X' when active */
.hamburger-menu.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}
.hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
}
.hamburger-menu.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 100%; /* Start off-screen to the right */
    width: 100%;
    height: 100vh;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: left 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1001;
}

/* Light Mode Mobile Nav */
body.light-theme .mobile-nav {
    background-color: rgba(255, 255, 255, 0.9);
}

.mobile-nav.active {
    left: 0; /* Slide in from the right */
}

.mobile-nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 2rem;
    font-weight: 500;
}

/* --- RESPONSIVE STYLES FOR ALL DEVICES (DEFINITIVE FIX) --- */
@media (max-width: 768px) {
  /* --- General Layout --- */
  html, body {
    overflow-x: hidden !important;
  }
  
  /* --- FIX FOR MOBILE SCROLL ISSUE --- */
  /* Disable transform-based animations on mobile that cause scroll height miscalculation */
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: opacity 0.8s ease !important;
  }
  
  .reveal.active {
    transform: none !important;
  }
  
  /* Fix hero animations on mobile - use opacity only, no transforms that affect layout */
  .hero h1,
  .hero-headline,
  .hero h2,
  .hero-headline-sub {
    opacity: 1 !important;
    transform: none !important;
    animation: fadeInOnly 0.8s ease forwards !important;
  }
  
  .hero-headline-sub {
    animation-delay: 0.3s !important;
  }
  
  /* Ensure main content takes proper height immediately */
  main {
    min-height: 100vh;
  }
  
  #home-content {
    min-height: auto;
  }
  
  /* --- Navigation --- */
  nav { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .hamburger-menu { display: block; }
  
  /* --- Home Page Specific Fixes --- */
  .hero { padding: 0 1rem; }
  .hero h1 { font-size: 2.5rem; }
  .subtitle {
    white-space: normal !important;
    animation: none !important;
    border-right: none !important;
    width: 100% !important;
    text-align: center;
    font-size: 1.1rem;
    opacity: 1 !important;
    transform: none !important;
  }
  .profile-bio-section {
    grid-template-columns: 1fr !important;
    text-align: center;
    padding: 4rem 1rem;
    gap: 2rem;
  }
  .profile-side { order: -1; }
  .quantum-grid {
    grid-template-columns: 1fr !important;
    padding: 2rem 1rem;
  }
  
  /* --- FIX FOR ALL OTHER PAGES (Projects, Skills, Blogs, etc.) --- */
  .page-container { 
    padding: 120px 1rem 2rem 1rem;
  }
  .page-hero { margin-bottom: 2rem; }
  .page-title { font-size: 2.5rem; }

  /* This is the key fix with !important to force the override */
  .projects-grid,
  .skills-grid,
  .blog-grid {
    grid-template-columns: 1fr !important; 
    gap: 1.5rem;
  }
  
  .project-card,
  .skill-card,
  .blog-card {
      padding: 1.5rem;
  }
  
  .contact-wrapper {
      grid-template-columns: 1fr;
  }
}

/* --- Text Reveal Animation --- */

/* Base style for the animated text */
.animate-text, .animate-text-delay {
    position: relative;
    color: rgba(255, 255, 255, 0.1); /* Start with dim/ghost text */
    background: linear-gradient(to right, #ffffff, #ffffff 50%, var(--accent-primary) 50%, var(--accent-secondary));
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite; /* Fallback animation */
    
    /* The Reveal Effect */
    animation: textReveal 1.5s cubic-bezier(0.77, 0, 0.175, 1) forwards;
    background-position: 200% center; /* Start hidden (off to the right) */
}

/* Specific styling for the main name */
.animate-text {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

/* Specific styling for the subtitle (adds delay) */
.animate-text-delay {
    animation-delay: 0.5s; /* Starts 0.5s after the name */
    font-size: 1.5rem;
    font-family: "Geist", "JetBrains Mono", monospace;
    /* Ensure formatting remains correct on mobile */
    white-space: normal; 
    text-align: center;
}

/* The Animation Keyframes */
@keyframes textReveal {
    0% {
        background-position: 200% center; /* Text is 'empty' */
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        background-position: 0% center; /* Text is fully filled */
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Mobile Adjustment (Crucial) --- */
@media (max-width: 768px) {
    .animate-text, .animate-text-delay {
        /* Ensure the gradient works on smaller screens */
        background-size: 200% auto; 
        text-align: center;
    }
    .animate-text-delay {
        font-size: 1.1rem; /* Smaller font for mobile */
    }
}

/* --- MOBILE PORTRAIT OPTIMIZATION (Phones < 480px) --- */
@media (max-width: 480px) {
    /* Hero Section - Reduce gap to profile section */
    .hero {
        padding-bottom: 20px;
        min-height: auto;
    }
    
    /* Profile Bio Section - Reduce top padding to close the gap */
    .profile-bio-section {
        padding-top: 1rem;
    }

    /* Page Container - Less horizontal padding for more content space */
    .page-container {
        padding: 100px 0.75rem 2rem 0.75rem;
    }

    /* Page Hero - Larger, more prominent titles */
    .page-hero {
        margin-bottom: 1.5rem;
    }
    
    .page-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .page-title i {
        font-size: 1.5rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
        padding: 0 0.5rem;
    }

    /* Cards Grid - Smaller minimum for phone screens */
    .projects-grid,
    .skills-grid,
    .blog-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem;
        padding: 0;
    }

    /* Card Styling - Better sizing for mobile portrait */
    .project-card,
    .skill-card,
    .blog-card {
        padding: 1.75rem;
        border-radius: 16px;
    }

    .project-card h3,
    .skill-card h3,
    .blog-card h3 {
        font-size: 1.35rem;
        margin-bottom: 0.75rem;
    }
    
    .project-card p,
    .skill-card p,
    .blog-card p {
        font-size: 1.05rem;
        line-height: 1.7;
    }

    /* Icons - Larger for mobile */
    .project-icon,
    .skill-icon,
    .blog-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    /* Tags - Larger touch targets */
    .project-tags {
        margin-top: 1rem;
        gap: 0.5rem;
    }
    
    .project-tags .tag {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }

    /* Quantum cards on homepage */
    .quantum-card {
        padding: 1.75rem;
    }
    
    .quantum-card h3 {
        font-size: 1.35rem;
    }
    
    .quantum-card p {
        font-size: 1.05rem;
    }

    /* Contact page specific */
    .contact-wrapper {
        padding: 0;
    }
    
    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }

    /* Blog post page */
    .blog-post {
        padding: 1.5rem;
        margin: 2rem 0.5rem;
    }
    
    .blog-post h2 {
        font-size: 1.4rem;
    }
    
    .blog-post p {
        font-size: 1rem;
    }

    /* Navigation adjustments */
    nav {
        padding: 0 1rem;
    }
    
    .logo {
        font-size: 1.25rem;
    }
}

/* Custom Theme Toggle Pill */
.theme-toggle-pill {
    display: flex;
    width: 64px;
    height: 32px;
    padding: 4px;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--glass-border);
    background-color: #ffffff;
}

body.light-theme .theme-toggle-pill {
    background-color: #ffffff;
    border-color: #e5e7eb;
}

body:not(.light-theme) .theme-toggle-pill {
    background-color: #09090b;
    border-color: #27272a;
}

.theme-toggle-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
}

.theme-toggle-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    border-radius: 9999px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    position: absolute;
}

.icon-moon { left: 0; }
.icon-sun { right: 0; }

body.light-theme .icon-moon {
    transform: translateX(32px);
    background-color: #e5e7eb;
}
body.light-theme .icon-moon svg { color: #374151; }

body.light-theme .icon-sun {
    transform: translateX(-32px);
    background-color: transparent;
    opacity: 0;
}

body:not(.light-theme) .icon-moon {
    transform: translateX(0);
    background-color: #27272a;
}
body:not(.light-theme) .icon-moon svg { color: #ffffff; }

body:not(.light-theme) .icon-sun {
    transform: translateX(0);
    background-color: transparent;
    opacity: 1;
}
body:not(.light-theme) .icon-sun svg { color: #71717a; }

/* Light Theme: Hide shader, use clean original light background */
body.light-theme #ano-background {
    opacity: 0;
    pointer-events: none;
    background: #ffffff !important;
}

/* Expanding Home Logo */
.expanding-logo {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0.5rem;
  border-radius: 0.75rem;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  font-family: "Geist", "Inter", sans-serif;
  cursor: pointer;
  transition: gap 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
              padding 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
              background-color 0.3s ease,
              color 0.3s ease;
  white-space: nowrap;
  overflow: hidden;
  text-decoration: none;
  width: min-content;
  /* Override .logo base styles */
  height: auto;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.expanding-logo .nav-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke-width: 2;
  transition: transform 0.3s ease;
}

.expanding-logo .logo-text {
  display: inline-block;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.4s ease 0.1s;
  white-space: nowrap;
}

.expanding-logo:hover {
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-secondary);
  transform: none;
}

body.light-theme .expanding-logo:hover {
  background: rgba(30, 64, 175, 0.06);
  color: var(--accent-primary);
}

.expanding-logo:hover .logo-text {
  max-width: 120px;
  opacity: 1;
}

.expanding-logo:hover .nav-icon {
  transform: scale(1.1);
}

/* Float Animation for React integration */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}