/* Base Styles with Neon Glow */
body {
  font-family: "Rajdhani", "Arial", sans-serif;
  letter-spacing: 2px;
  background-color: #0a0a0a;
  background-image: radial-gradient(
      circle at 10% 20%,
      rgba(0, 80, 80, 0.1) 0%,
      transparent 20%
    ),
    radial-gradient(circle at 90% 80%, rgba(0, 80, 80, 0.1) 0%, transparent 20%),
    url(background.jpg);
  background-attachment: fixed;
  text-align: center;
  line-height: 2;
  color: white;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Neon Title with Pulsing Animation */
.title {
  font-size: 3.5rem;
  text-shadow: 0 0 10px #00fff9, 0 0 20px #00fff9, 0 0 30px #00fff9;
  /*color: #00fff9;*/
  animation: pulse 2s infinite alternate;
  margin: 2rem 0;
  position: relative;
  display: inline-block;
}

.title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #00fff9, transparent);
  box-shadow: 0 0 10px #00fff9;
}

@keyframes pulse {
  0% {
    text-shadow: 0 0 10px #00fff9, 0 0 20px #00fff9, 0 0 30px #00fff9;
  }
  100% {
    text-shadow: 0 0 15px #00fff9, 0 0 30px #00fff9, 0 0 45px #00fff9;
  }
}

/* Project Grid Layout */
.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Neon Project Cards */
.assignment,
.html,
.css,
.java-script,
.JS_ES6_Feacher,
.ts,
.fb,
.react {
  border: none;
  border-radius: 8px;
  margin: 0;
  padding: 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  font-family: "Rajdhani", sans-serif;
  background: rgba(5, 15, 20, 0.8);
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 200, 255, 0.2);
}

/* Unique Neon Colors for Each Tech Category */
.assignment {
  border-top: 3px solid #00ff00;
}
.html {
  border-top: 3px solid #ff4500;
}
.css {
  border-top: 3px solid #00bfff;
}
.java-script {
  border-top: 3px solid #ffff00;
}
.JS_ES6_Feacher {
  border-top: 3px solid #ffd700;
}
.ts {
  border-top: 3px solid #007acc;
}
.fb {
  border-top: 3px solid #ff851b;
}
.react {
  border-top: 3px solid #00d8ff;
}

/* Hover Effects */
.assignment:hover,
.html:hover,
.css:hover,
.java-script:hover,
.JS_ES6_Feacher:hover,
.ts:hover,
.fb:hover,
.react:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 200, 255, 0.4), 0 0 30px rgba(0, 200, 255, 0.2);
}

/* Section Headers with Neon Underline */
.assignmentOne,
.htmlone,
.cssone,
.JavaScriptOne,
.tsone,
.fbone,
.reactone {
  font-size: 2.5rem;
  margin: 2rem 0 1rem;
  position: relative;
  display: inline-block;
}

.assignmentOne::after,
.htmlone::after,
.cssone::after,
.JavaScriptOne::after,
.tsone::after,
.fbone::after,
.reactone::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

/* Neon Color Coding */
.assignmentOne {
  color: #00ff00;
  text-shadow: 0 0 10px #00ff0040;
}
.htmlone {
  color: #ff4500;
  text-shadow: 0 0 10px #ff450040;
}
.cssone {
  color: #00bfff;
  text-shadow: 0 0 10px #00bfff40;
}
.JavaScriptOne {
  color: #ffff00;
  text-shadow: 0 0 10px #ffff0040;
}
.tsone {
  color: #007acc;
  text-shadow: 0 0 10px #007acc40;
}
.fbone {
  color: #ff851b;
  text-shadow: 0 0 10px #ff851b40;
}
.reactone {
  color: #00d8ff;
  text-shadow: 0 0 10px #00d8ff40;
}

/* Links with Neon Glow */
a {
  color: white;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 30px;
  display: inline-block;
  margin: 5px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

a::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  z-index: -1;
  background: linear-gradient(
    45deg,
    #005a53,
    #7a00ff,
    #005a53,
    #7a00ff,
    #005a53
  );
  background-size: 400%;
  border-radius: 30px;
  opacity: 0;
  transition: 0.5s;
}

a:hover::before {
  opacity: 1;
  animation: animate 8s linear infinite;
}

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

a:hover {
  color: white;
  transform: scale(1.05);
  box-shadow: 0 0 10px currentColor;
}

/* Live Demo Indicator */
.live {
  color: #ff0000;
  font-weight: 700;
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
    text-shadow: 0 0 10px #ff0000;
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .projects-container {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .title {
    font-size: 2.5rem;
  }

  .assignmentOne,
  .htmlone,
  .cssone,
  .JavaScriptOne,
  .tsone,
  .fbone,
  .reactone {
    font-size: 2rem;
  }
}
