/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #0d0d0d;
  color: #f0f0f0;
}

/* Navbar */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(20, 20, 20, 0.9);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  z-index: 1000;
}

nav .logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #00e5ff;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav ul li a {
  text-decoration: none;
  color: #f0f0f0;
  transition: 0.3s;
}

nav ul li a:hover {
  color: #00e5ff;
  text-shadow: 0 0 5px #00e5ff;
}

/* Hero / Home */
#home {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #1a1a1a, #111111);
}

.hero-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  text-align: center;
}

.profile-pic img {
  border-radius: 50%;
  width: 180px;
  border: 3px solid #00e5ff;
  transition: transform 0.5s;
}

.profile-pic img:hover {
  transform: scale(1.1);
}

.hero-content .intro h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #00e5ff;
  text-shadow: 0 0 10px #00e5ff;
}

.hero-content .intro p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: #cccccc;
}

/* Buttons */
.btn-slide {
  display: inline-block;
  padding: 0.8rem 2rem;
  color: #00e5ff;
  border: 2px solid #00e5ff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.btn-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #00e5ff;
  transition: 0.4s;
  z-index: -1;
}

.btn-slide:hover {
  color: #0d0d0d;
}

.btn-slide:hover::before {
  left: 0;
}

/* Sections */
section {
  padding: 6rem 5%;
  text-align: center;
}

section h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #ff00ff;
  text-shadow: 0 0 10px #ff00ff;
}

/* Skills */
.skills-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.skill h3 {
  text-align: left;
  margin-bottom: 0.5rem;
  color: #00ffff;
}

.skill-bar {
  background: #222;
  height: 25px;
  border-radius: 30px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, #00e5ff, #ff00ff);
  width: 0;
  border-radius: 30px;
  transition: width 1.5s ease-in-out;
}

/* Projects */
.projects-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.project-card {
  background: #111;
  border: 1px solid #00e5ff;
  border-radius: 15px;
  padding: 2rem;
  width: 300px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 20px #ff00ff;
}

.project-card h3 {
  margin-bottom: 1rem;
  color: #00e5ff;
}

.project-card p {
  margin-bottom: 1.5rem;
  color: #ccc;
}


/* About Me Section */
#about {
  background: linear-gradient(135deg, #111111, #1a1a1a);
  padding: 6rem 5%;
}

.about-container {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(30, 30, 30, 0.8);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
  text-align: center;
}

.about-container h2 {
  font-size: 2.5rem;
  color: #00e5ff;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px #00e5ff;
}

.about-container p {
  font-size: 1.1rem;
  color: #cccccc;
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* Neon Gradient Backgrounds */
section {
  position: relative;
  overflow: hidden;
  padding: 6rem 5%;
}

section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0,229,255,0.2), transparent 70%);
  animation: neonPulse 8s infinite alternate ease-in-out;
  z-index: 0;
}

section h2 {
  position: relative;
  z-index: 1;
}

section p, section .skills-container, section .projects-container {
  position: relative;
  z-index: 1;
}

/* Neon Pulse Animation */
@keyframes neonPulse {
  0% {
    transform: rotate(0deg) scale(1);
    opacity: 0.5;
  }
  100% {
    transform: rotate(360deg) scale(1.1);
    opacity: 1;
  }
} 
#home {
  background: linear-gradient(135deg, #0d0d0d, #111111, #0a0a0a);
}

#about {
  background: linear-gradient(135deg, #111111, #1a1a1a, #0d0d0d);
}

#skills {
  background: linear-gradient(135deg, #0d0d0d, #111111, #1a1a1a);
}

#projects {
  background: linear-gradient(135deg, #111111, #0d0d0d, #1a1a1a);
}

#contact {
  background: linear-gradient(135deg, #0d0d0d, #111111, #1a1a1a);
}

h2, h1 {
  text-shadow:
    0 0 5px #00e5ff,
    0 0 10px #00e5ff,
    0 0 20px #00e5ff,
    0 0 40px #00e5ff;
}

.btn-slide {
  text-shadow:
    0 0 5px #00e5ff,
    0 0 10px #00e5ff;
}

.nav .logo {
  text-shadow:
    0 0 5px #00e5ff,
    0 0 10px #00e5ff;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background: repeating-linear-gradient(
    45deg,
    rgba(0,229,255,0.05),
    rgba(0,229,255,0.05) 1px,
    transparent 1px,
    transparent 20px
  );
  animation: neonMove 20s linear infinite;
  z-index: -1;
  pointer-events: none; 
}

@keyframes neonMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-50%, -50%); }
}
/* Contact Section*/
#contact {
  position: relative;
  z-index: 10; 
  padding: 2rem;
  text-align: center;
}

.contact-form {
  position: relative;
  z-index: 20; 
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: rgba(0, 247, 255, 0.1);
  border: 2px solid #00f7ff;
  box-shadow: 0 0 15px #00f7ff;
  transform: scale(1.02);
}

.btn-submit {
  padding: 12px 25px;
  border: none;
  border-radius: 25px;
  background: #00f7ff;
  color: #111;
  font-size: 1rem;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s ease-in-out;
}

.btn-submit:hover {
  background: #111;
  color: #00f7ff;
  border: 2px solid #00f7ff;
  box-shadow: 0 0 20px #00f7ff, 0 0 40px #00f7ff;
  transform: scale(1.05);
}

/* Social Links*/
.socials {
  position: relative;
  z-index: 20; 
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 25px;
}

.socials a {
  position: relative;
  z-index: 20;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
  color: #00f7ff;
  font-size: 1.6rem;
  transition: all 0.3s ease-in-out;
  border: 2px solid #00f7ff;
  box-shadow: 0 0 15px #00f7ff, 0 0 30px rgba(0, 247, 255, 0.5);
}

.socials a:hover {
  background: #00f7ff;
  color: #111;
  transform: scale(1.2);
  box-shadow: 0 0 25px #00f7ff, 0 0 50px #00f7ff;
}

body::before {
  pointer-events: none;
}

footer {
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.85);
  color: white;
  z-index: 10;
}