/* Reset some default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
#bouncing-ball-canvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -9;
  width: 100vw;
  height: 100vh;
  background: transparent;
  pointer-events: none;
}

/* Ensure your main content container is positioned above the canvas */
.content, 
section, 
header, 
footer, 
nav {
  position: relative;
  z-index: 2; /* higher than canvas */
  color: white; /* make text visible */
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  margin-left: 1rem;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #00ffe5;
  border-radius: 2px;
  box-shadow: 0 0 6px #00ffe5, 0 0 12px #8f04ec;
  transition: all 0.3s ease;
}

/* Floating menu box */
.extra-menu {
  position: absolute;
  top: 60px;
  right: 30px;
  width: 220px;
  background: rgba(0, 0, 0, 0.9);
  border: 2px solid #00ffe5;
  box-shadow: 0 0 10px #00ffe5, 0 0 20px #8f04ec;
  border-radius: 12px;
  padding: 1rem;
  display: none;
  z-index: 1000;
}

.extra-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.extra-menu li {
  width: 100%;
}

.extra-menu a {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.8rem 0;
  background: linear-gradient(135deg, #0c1a2f, #1c2d4a);
  border: 2px solid #00ffe5;
  border-radius: 8px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.9rem;
  color: #00ffe5;
  text-decoration: none;
  text-shadow: 0 0 6px #00ffe5;
  box-shadow: 0 0 10px rgba(0, 255, 229, 0.4);
  transition: all 0.3s ease;
}

.extra-menu a:hover {
  background: #00ffe5;
  color: #000;
  box-shadow: 0 0 10px #00ffe5, 0 0 20px #00ffe5;
}


body, html {
  margin: 0;
  padding: 0;
  font-family: 'Orbitron', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #ff007f;
  height: 100vh;
  overflow-x: hidden;
  background: #000;
  position: relative;
  z-index: 0;
}

.aurora-side {
  position: fixed;
  top: 0;
  left: 0; /* Change to right if you want it on the other side */
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle at 30% 50%, #6efaff33, transparent 60%),
              radial-gradient(circle at 60% 70%, #c45fff22, transparent 60%),
              radial-gradient(circle at 40% 90%, #45b4ff33, transparent 60%);
  animation: auroraMove 10s ease-in-out infinite;
  filter: blur(60px);
  opacity: 0.5;
}

@keyframes auroraMove {
  0% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-20px) translateX(15px);
  }
  100% {
    transform: translateY(0) translateX(0);
  }
}

.content {
  position: relative;
  padding: 4rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 2rem;
  text-align: center;
  overflow: visible;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  mix-blend-mode: screen;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  max-width: 700px;
  text-align: center;
}

.greeting {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 3px;
  color: #7bb7f8;
  text-shadow: 0 0 6px #6a06ff, 0 0 12px #c363ff;
}

.hero-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 3.6rem;
  font-weight: 900;
  letter-spacing: 0.5rem;
  color: #ffffff;
  text-transform: uppercase;
  text-shadow:
    0 0 10px #c10bea,
    0 0 20px #8f04ec,
    0 0 40px #8f04ec;

  position: relative;
  display: inline-block;
  padding: 1rem;
}

.hero-name span {
  color: #e1e1e1;
  text-shadow: 0 0 12px #c10bea, 0 0 25px #8f04ec;
}

.hero-subtitle {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  margin-top: 1rem;
  margin-bottom: 2rem;
  color: #0bdaff;
  text-shadow: 0 0 8px #6a06ff, 0 0 16px #c363ff;
  transition: text-shadow 0.3s ease, color 0.3s ease;
}

.hero-subtitle:hover {
  text-shadow: none;
  color: #ffffff;
}

/* Additional glowing elements for cyberpunk effect */
.glow-line {
  width: 100px;
  height: 4px;
  background: #00d5ff;
  margin: 2rem auto;
  box-shadow: 0 0 10px #9204eb, 0 0 20px #00eeff;
  border-radius: 2px;
  animation: flicker 1.5s infinite alternate;
}

@keyframes flicker {
  0% { opacity: 0.8; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}

.social-sidebar {
  position: fixed;
  top: 50%;
  right: 18px; /* distance from the left edge */
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 1000;
}

.social-sidebar a {
  color: #8eb6eb;
  font-size: 20px;
  transition: color 0.3s ease;
}

.social-sidebar a:hover {
  color: #3b82f6;
}


/* Hide default cursor */
body {
  cursor: none;
}

/* Custom glowing AI-style cursor */
.custom-cursor {
  width: 32px;
  height: 32px;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, #00f0ff, #0077ff);
  box-shadow: 0 0 10px #00f0ff, 0 0 30px #0077ff;
  mix-blend-mode: lighten;
  transform: translate(-50%, -50%);
  z-index: 9999;
  transition: transform 0.15s ease-out;
}

.hero-button {
  background-color: #60a5fa;
  border: none;
  padding: 0.6rem 1.5rem;       /* ↓ Reduced padding */
  font-size: 0.5rem;            /* ↓ Smaller font */
  font-weight: 700;
  color: #02080c;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;        
}

.hero-button:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(96,165,250,0.5); 
}

.hero-button:hover {
  background-color: #3bd4f6;
}

/* Sections */
.section {
  max-width: 900px;
  margin: 1.5rem auto;
  padding: 0 1.5rem;
  overflow: visible;
}

.section-title {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  color: #60a5fa;
  letter-spacing: 3px;
  text-align: center;
  text-transform: uppercase;
}

/* About Section */
.about .section-text {
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.8;
  color: #cbd5e1;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

/* Projects Section */
.projects-list {
  position: relative;         
  z-index: 100;              
  list-style-type: disc;
  padding-left: 1.5rem;
  color: #e0e0e0;
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.7;
}

.projects-list li {
  margin-bottom: 1rem;
  font-weight: 500;
}

.projects-list strong {
  color: #60a5fa;
}

/* Contact Section */
.contact-section {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  padding: 4rem 2rem;
  color: #fff;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 1.2px;
  justify-content: center;
  gap: 2rem;
}

.contact-left {
  flex: 1;
  min-width: 300px;
  padding: 2rem;
  max-width: 400px;
}

.contact-left h1 {
  font-size: 4rem;
  line-height: 1.2;
  color: #ffffff;
  text-transform: uppercase;
}

.contact-left h1 span {
  color: #450094f9;
  font-style: italic;
}

form.contact-form {
  flex: 2;
  min-width: 320px;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.input-group.split {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.input-wrapper {
  position: relative;
  flex: 1;
  min-width: 160px;
}

input,
textarea {
  background: transparent;
  border: none;
  border-bottom: 2px solid #450094f9;
  padding: 0.75rem 1rem;
  color: #fff;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
  transition: 0.3s ease;
  font-family: 'Orbitron', sans-serif;
}

input::placeholder,
textarea::placeholder {
  color: #999;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: transparent;
}

.input-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: #00ffe5;
  transition: width 0.4s ease;
}

.input-wrapper:has(input:focus)::after,
.input-wrapper:has(textarea:focus)::after {
  width: 100%;
}

textarea {
  resize: vertical;
  min-height: 120px;
  border-bottom: 2px solid #450094f9;
}

.submit-btn {
  align-self: flex-end;
  background: #450094f9;
  color: #ffffff;
  padding: 0.6rem 1rem;
  border: none;
  font-size: 1.3rem;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
  box-shadow: 0 0 10px #450094f9, 0 0 20px #450094f9;
  margin-top: 1rem;
}

.submit-btn:hover {
  background: #3aabf2;
  box-shadow: 0 0 10px #00ffe5, 0 0 20px #00ffe5;
  color: #f9f5f5;
}

/* Footer */
.footer {
  width: 100%;
  color: #b0cbeb;
  text-align: center;
  padding: 2rem 1rem;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 2px;
  margin-top: 5rem;
  position: relative;
  z-index: 10;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  text-shadow: 0 0 5px #00ffe5, 0 0 10px #450094;
}

.heartbeat-line {
  position: absolute;
  left: 50%;
  bottom: 100%;
  transform: translateX(-50%);
  width: 100%;
  height: 60px;
  overflow: visible;
  pointer-events: none;
  background: transparent; /* Ensures background is transparent */
  z-index: 1;
}

.heartbeat-line svg {
  width: 100%;
  height: 100%;
  background: transparent; /* Transparent SVG background */
}

.pulse {
  fill: none;
  stroke: #00ffff;
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawPulse 2s linear infinite;
  filter: drop-shadow(0 0 6px #00ffff) drop-shadow(0 0 15px #00ffff);
}

@keyframes drawPulse {
  0% {
    stroke-dashoffset: 1000;
  }
  100% {
    stroke-dashoffset: 0;
  }
}
