/* Base Styles and Layout */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-bg: #000000;
  --secondary-bg: #0a0a0a;
  --accent-cyan: #00ffff;
  --accent-purple: #8b5cf6;
  --accent-pink: #ec4899;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --text-accent: #00ffff;
  --border-glow: rgba(0, 255, 255, 0.3);
  --gradient-primary: linear-gradient(135deg, #00ffff 0%, #8b5cf6 50%, #ec4899 100%);
  --gradient-dark: linear-gradient(135deg, #001122 0%, #000000 100%);
}

body {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-primary);
}

html {
  scroll-behavior: smooth;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation Styles */
#navbar {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  background: linear-gradient(90deg, #0f2027 0%, #00c3ff 100%);
  border-bottom: 2px solid var(--accent-cyan);
  box-shadow: 0 2px 24px #00c3ff;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem; /* Add padding to prevent overlap */
  min-height: 64px;   /* Ensure enough height for brand */
}

.nav-brand {
  display: flex;
  align-items: center;
  font-size: 2rem;
  font-weight: 700;
  gap: 0.5rem;
  z-index: 2; /* Ensure brand is above background if needed */
  color: #fff;
  text-shadow: 0 0 12px #00c3ff, 0 0 24px #8b5cf6;
}

.brand-first {
  color: var(--accent-cyan);
}

.brand-second {
  color: var(--accent-purple);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-cyan);
}

.nav-links a:focus,
.mobile-menu a:focus,
.quantum-btn:focus,
.curiosity-callout:focus {
  outline: 2px solid #00c3ff;
  box-shadow: 0 0 12px #00c3ff;
}

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

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

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

.mobile-menu {
  display: none;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem;
  border-radius: 10px;
  margin-top: 1rem;
}

.mobile-menu a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.mobile-menu a:hover {
  color: var(--accent-cyan);
}

/* Hero Section Styles */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--gradient-dark);
}

.background-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.matrix-layer {
  z-index: 1;
  opacity: 0.2;
}

.particle-layer {
  z-index: 2;
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 1200px;
  padding: 0 2rem;
}

.name-display {
  margin-bottom: 0.8em; /* Reduce space below name display */
}

.holographic-name, .section-title {
    position: relative;
    background: linear-gradient(270deg, #00ffff, #8b5cf6, #ec4899, #00ffff);
    background-size: 600% 600%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 8s ease-in-out infinite;
    filter: drop-shadow(0 0 30px #00ffff) drop-shadow(0 0 60px #8b5cf6);
}

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

.name-text {
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: pulse 2s ease-in-out infinite;
}

.name-blur {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: blur(2px);
  opacity: 0.5;
  animation: ping 2s ease-in-out infinite;
}

.location-info {
  display: flex;
  flex-direction: column;
  align-items: center;      /* Center horizontally */
  justify-content: center;  /* Center vertically if needed */
  text-align: center;       /* Center text */
  gap: 0.1em;               /* Small space between lines */
  margin: 0.5em 0;          /* Optional: vertical margin */
}

.flag {
  display: inline-block;
  animation: waveFlag 1.8s infinite linear;
  transform-origin: left center;
}

@keyframes waveFlag {
  0% { transform: rotateZ(0deg) skewY(0deg);}
  20% { transform: rotateZ(-8deg) skewY(6deg);}
  40% { transform: rotateZ(8deg) skewY(-6deg);}
  60% { transform: rotateZ(-8deg) skewY(6deg);}
  80% { transform: rotateZ(8deg) skewY(-6deg);}
  100% { transform: rotateZ(0deg) skewY(0deg);}
}

.specialties {
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  color: var(--accent-purple);
  margin-bottom: 0.6em; /* Reduce space below specialties */
}

/* Code Terminal Styles */
.code-terminal {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glow);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 0.8em; /* Reduce space below code terminal */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 0 50px rgba(0, 255, 255, 0.1);
}

.terminal-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.terminal-buttons {
  display: flex;
  gap: 0.5rem;
}

.terminal-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.terminal-btn.red {
  background: #ff5f56;
}
.terminal-btn.yellow {
  background: #ffbd2e;
}
.terminal-btn.green {
  background: #27ca3f;
}

.terminal-title {
  margin-left: 1rem;
  color: var(--accent-cyan);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.9rem;
}

.code-display {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.9rem;
  color: #00ff00;
  text-align: left;
  white-space: pre-wrap;
  overflow: hidden;
}

.cursor {
  animation: blink 1s step-end infinite;
}

/* Quantum Buttons */
.quantum-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 0.6em; /* Reduce space below buttons */
}

.quantum-btn {
  position: relative;
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  transform: perspective(1000px);
  box-shadow: 0 0 24px #00c3ff, 0 0 48px #8b5cf6;
}

.quantum-btn.primary {
  background: linear-gradient(135deg, var(--accent-cyan), #3b82f6);
  color: white;
  box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
}

.quantum-btn.secondary {
  background: transparent;
  border: 2px solid var(--accent-purple);
  color: var(--accent-purple);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

.quantum-btn:hover {
  transform: perspective(1000px) translateY(-5px) scale(1.05);
}

.quantum-btn.primary:hover {
  box-shadow: 0 15px 40px rgba(0, 255, 255, 0.5);
}

.quantum-btn.secondary:hover {
  background: rgba(139, 92, 246, 0.1);
  box-shadow: 0 15px 40px rgba(139, 92, 246, 0.4);
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s ease;
}

.quantum-btn:hover .btn-shine {
  left: 100%;
}

/* Floating Icons */
.floating-icons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.tech-icon {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.ai-icon {
  top: 20%;
  left: 10%;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--accent-cyan), #3b82f6);
  animation: float 3s ease-in-out infinite;
  font-size: 1.5rem;
}

.ml-icon {
  top: 40%;
  right: 20%;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
  border-radius: 50%;
  animation: float 3s ease-in-out infinite 0.5s;
  font-size: 1.2rem;
}

.quantum-icon {
  bottom: 40%;
  left: 20%;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #10b981, #06b6d4);
  animation: float 3s ease-in-out infinite 1s;
  font-size: 1.8rem;
}

/* Geometric Shapes */
.geometric-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.shape {
  position: absolute;
  border: 1px solid;
}

.shape-1 {
  top: 25%;
  left: 25%;
  width: 128px;
  height: 128px;
  border-color: var(--border-glow);
  transform: rotate(45deg);
  animation: spin 20s linear infinite;
}

.shape-2 {
  bottom: 25%;
  right: 25%;
  width: 96px;
  height: 96px;
  border-color: rgba(139, 92, 246, 0.3);
  transform: rotate(12deg);
  animation: pulse 3s ease-in-out infinite;
}

/* Mouse Trail */
.mouse-trail {
  position: fixed;
  pointer-events: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(0, 123, 255, 0.5);
  z-index: 9999;
  transition: background 0.3s;
}

/* Project Card Styles */
/* Add to styles1.css or styles2.css */
.project-card, .service-card {
    background: rgba(0, 255, 255, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.2);
    backdrop-filter: blur(18px) brightness(1.2);
    box-shadow: 0 8px 32px rgba(0,255,255,0.18);
    border-radius: 18px;
    transition: box-shadow 0.3s, transform 0.3s;
}
.project-card:hover, .service-card:hover {
    box-shadow: 0 16px 48px rgba(139,92,246,0.28), 0 0 32px #00ffff;
    transform: scale(1.04) translateY(-6px);
}

/* Scroll Progress Bar */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0;
    background: linear-gradient(90deg, #00ffff, #8b5cf6, #ec4899);
    box-shadow: 0 0 12px #00ffff;
    z-index: 99999;
    transition: width 0.2s;
}

/* Responsive grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .mobile-menu.active {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(15px);
    border-radius: 0 0 15px 15px;
    border: 1px solid var(--border-glow);
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
  }

  .mobile-menu.active {
    max-height: 400px;
    opacity: 1;
  }

  .mobile-menu a {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .mobile-menu a:last-child {
    border-bottom: none;
  }

  /* Improved hero section for mobile */
  .hero-section {
    min-height: 100vh;
    padding: 80px 0 40px;
  }

  .hero-content {
    padding: 0 1rem;
  }

  .holographic-name {
    font-size: clamp(2.5rem, 12vw, 4rem);
    margin-bottom: 1.5rem;
  }

  .location-info {
    font-size: clamp(0.9rem, 4vw, 1.2rem);
    margin-bottom: 1rem;
  }

  .specialties {
    font-size: clamp(0.8rem, 3vw, 1rem);
    margin-bottom: 2rem;
    line-height: 1.4;
  }

  /* Mobile-optimized code terminal */
  .code-terminal {
    padding: 1rem;
    margin-bottom: 2rem;
    font-size: 0.8rem;
    max-height: 200px;
    overflow-y: auto;
  }

  .terminal-title {
    font-size: 0.8rem;
  }

  .code-display {
    font-size: 0.75rem;
    line-height: 1.3;
  }

  /* Touch-friendly quantum buttons */
  .quantum-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .quantum-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    min-height: 48px;
    width: 100%;
    max-width: 280px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .quantum-btn:active {
    transform: scale(0.98);
  }

  /* Hide performance-heavy elements on mobile */
  .floating-icons .tech-icon {
    display: none;
  }

  .geometric-shapes .shape {
    display: none;
  }

  /* Simplified mouse trail for mobile */
  .mouse-trail {
    display: none;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 1rem;
  }

  .nav-brand {
    font-size: 1.2rem;
  }

  .hero-content {
    padding: 0 0.5rem;
  }

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

  .location-info {
    font-size: clamp(0.8rem, 3.5vw, 1rem);
  }

  .specialties {
    font-size: clamp(0.7rem, 2.5vw, 0.9rem);
  }

  .code-terminal {
    padding: 0.8rem;
    margin-bottom: 1.5rem;
    max-height: 150px;
  }

  .quantum-btn {
    padding: 0.9rem 1.5rem;
    font-size: 0.9rem;
    min-height: 48px;
  }

  /* Improved mobile navigation */
  .mobile-menu a {
    padding: 0.8rem 1rem;
    font-size: 1rem;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .quantum-btn:hover {
    transform: none;
  }

  .quantum-btn:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
  }

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

  .tech-icon {
    animation: none;
  }

  .shape {
    animation: none;
  }
}

/* Landscape mobile optimization */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-section {
    min-height: auto;
    padding: 60px 0 20px;
  }

  .holographic-name {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-bottom: 1rem;
  }

  .code-terminal {
    max-height: 120px;
    margin-bottom: 1rem;
  }

  .quantum-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .quantum-btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.8rem;
    min-height: 40px;
    flex: 1;
    min-width: 140px;
  }
}

.ai-quote {
    font-size: 1.3rem;
    color: #00ffff;
    margin-top: 1.5em;
    text-shadow: 0 0 12px #8b5cf6;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.04em;
    animation: fadeInUp 1s;
}

.ai-chat-bubble {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: linear-gradient(135deg, #8b5cf6, #00ffff);
    color: #fff;
    padding: 0.5em 1em;
    border-radius: 16px;
    box-shadow: 0 0 24px #8b5cf6;
    font-size: 0.85rem;
    z-index: 99999;
    cursor: pointer;
    animation: fadeInUp 1s;
    user-select: none;
}
.ai-chat-bubble:hover {
    box-shadow: 0 0 48px #00ffff;
    background: linear-gradient(135deg, #00ffff, #8b5cf6);
}
.chat-modal {
    display: none;
    position: fixed;
    bottom: 90px;
    right: 32px;
    width: 340px;
    max-width: 90vw;
    background: rgba(30,30,40,0.98);
    border-radius: 18px;
    box-shadow: 0 0 32px #8b5cf6;
    z-index: 100000;
    flex-direction: column;
    overflow: hidden;
}
.chat-modal.active {
    display: flex;
    flex-direction: column;
}
.chat-header {
    background: linear-gradient(90deg, #8b5cf6, #00ffff);
    color: #fff;
    padding: 0.8em 1em;
    font-weight: bold;
    font-size: 1.1em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.chat-messages {
    padding: 1em;
    height: 220px;
    overflow-y: auto;
    font-size: 1em;
    color: #fff;
}
.chat-input-row {
    display: flex;
    border-top: 1px solid #444;
    background: #222;
}
#chatInput {
    flex: 1;
    padding: 0.7em;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 1em;
    outline: none;
}
.chat-input-row button {
    background: #8b5cf6;
    color: #fff;
    border: none;
    padding: 0 1em;
    cursor: pointer;
    font-weight: bold;
    border-radius: 0 0 18px 0;
}

.nav-link.aiesec-link {
    background: linear-gradient(90deg, #00c3ff, #ffff1c);
    color: #222 !important;
    border-radius: 1rem;
    padding: 0.5rem 1.2rem;
    margin-left: 1rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    transition: background 0.2s, transform 0.2s;
}
.nav-link.aiesec-link:hover {
    background: linear-gradient(90deg, #ffff1c, #00c3ff);
    transform: scale(1.08);
}

/* AIESEC Journey Callout */
.aiesec-journey {
    display: block;
    margin: 2em auto;
    max-width: 600px;
    padding: 1.2em 2em;
    background: linear-gradient(90deg, #00c3ff 0%, #8b5cf6 100%);
    color: #fff;
    font-size: 1.15rem;
    font-family: 'JetBrains Mono', 'Inter', monospace;
    border-radius: 1.2em;
    box-shadow: 0 0 24px #00c3ff88;
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.2s;
}

.aiesec-journey:hover,
.aiesec-journey:focus {
    background: linear-gradient(90deg, #8b5cf6 0%, #00c3ff 100%);
    color: #ffff1c;
    box-shadow: 0 0 48px #8b5cf6;
    transform: scale(1.03);
    outline: none;
    text-decoration: underline;
}

/* Curiosity Callout */
.curiosity-callout {
    display: block;
    margin: 2rem auto;
    max-width: 600px;
    padding: 1.2em 2em;
    background: linear-gradient(90deg,#00c3ff,#ffff1c);
    color: #222;
    border-radius: 1.2em;
    box-shadow: 0 0 24px #00c3ff88;
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.2s;
    /* Ensure centering regardless of parent flex/grid */
    align-self: center;
    justify-self: center;
}

.curiosity-callout:hover,
.curiosity-callout:focus {
    background: linear-gradient(90deg, #8b5cf6 0%, #00c3ff 100%);
    color: #ffff1c;
    box-shadow: 0 0 48px #8b5cf6;
    transform: scale(1.03);
    outline: none;
    text-decoration: underline;
}

.curiosity-callout a {
    color: #0f2027;
    text-decoration: underline;
    font-weight: 700;
    transition: color 0.2s;
}

.curiosity-callout a:hover {
    color: #8b5cf6;
}

/* Footer Styles */
.site-footer {
    width: 100%;
    background: linear-gradient(90deg, #0f2027 60%, #00c3ff 100%);
    color: #fff;
    text-align: center;
    padding: 2.2rem 0 1.2rem 0;
    font-family: 'JetBrains Mono', 'Inter', monospace;
    font-size: 1.05rem;
    letter-spacing: 1px;
    margin-top: 4rem;
    border-top: 2px solid #00c3ff;
    box-shadow: 0 -2px 16px #00c3ff33;
    position: relative;
}
.footer-main {
    max-width: 900px;
    margin: 0 auto;
}
.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    margin-bottom: 0.7rem;
}
.footer-logo {
    font-size: 2.2rem;
    filter: drop-shadow(0 0 8px #00c3ff);
}
.footer-title {
    background: linear-gradient(90deg, #00c3ff, #ffff1c, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    letter-spacing: 2px;
}
.footer-details {
    margin-bottom: 0.7rem;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.footer-details a {
    color: #ffff1c;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s;
}
.footer-details a:hover {
    color: #8b5cf6;
}
.footer-quote {
    font-style: italic;
    color: #ec4899;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    font-family: 'Orbitron', 'JetBrains Mono', monospace;
    letter-spacing: 1px;
    text-shadow: 0 0 8px #00c3ff44;
}
.footer-bottom {
    font-size: 0.95rem;
    color: #fff;
    opacity: 0.8;
    margin-top: 0.5rem;
}
@media (max-width: 700px) {
    .footer-main { font-size: 0.95rem; }
    .footer-brand { font-size: 1.1rem; }
    .footer-logo { font-size: 1.5rem; }
    .footer-quote { font-size: 0.95rem; }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100vw;
    background: linear-gradient(90deg, #00c3ff 0%, #8b5cf6 100%);
    box-shadow: 0 8px 32px #00c3ff;
    border-radius: 0 0 18px 18px;
    padding: 1.5rem 0;
    z-index: 99;
    opacity: 0;
    transition: opacity 0.3s, max-height 0.3s;
    max-height: 0;
    overflow: hidden;
  }
  .mobile-menu.active {
    display: block;
    opacity: 1;
    max-height: 400px;
  }
  .mobile-menu a {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    padding: 1rem 2rem;
    transition: background 0.2s, color 0.2s;
  }
  .mobile-menu a:hover,
  .mobile-menu a.active {
    background: rgba(0,255,255,0.15);
    color: #ffff1c;
    border-radius: 8px;
  }
}
@media (max-width: 600px) {
  .chat-modal {
    right: 0;
    left: 0;
    bottom: 0;
    width: 100vw;
    max-width: 100vw;
    border-radius: 0;
  }
}

/* Outstanding Link and Button Styles */
a,
button,
input[type="submit"],
input[type="button"] {
    cursor: pointer;
    transition: color 0.2s, background 0.2s, box-shadow 0.2s, border 0.2s;
    text-decoration: none;
    border-radius: 8px;
}

a:hover,
a:focus,
button:hover,
button:focus,
input[type="submit"]:hover,
input[type="button"]:hover {
    color: #ffff1c !important;
    background: linear-gradient(90deg, #00c3ff 0%, #8b5cf6 100%);
    box-shadow: 0 0 12px #00c3ff, 0 0 24px #8b5cf6;
    outline: none;
    text-decoration: underline;
    border: 2px solid #00c3ff;
}

#navbar, .quantum-btn, .site-footer {
  animation: neonGlow 2.5s infinite alternate;
}
