* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;  
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(-45deg, #0f0f0f, #1a1a1a, #2a0050, #4b0082);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  color: #ffffff;
  line-height: 1.6;
  scroll-behavior: smooth;
}

@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

header {
  background: #1a1a1a;
  padding: 15px 30px;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.05);
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: #a855f7;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links li {
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #f3f3f3;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #a855f7;
}

.section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: auto;
}

.section h2 {
  font-size: 2rem;
  color: #a855f7;
  margin-bottom: 20px;
}

.section p,
.section li {
  color: #e0e0e0;
}

.container {
  text-align: center;
  padding-top: 80px;
}

.container h1 {
  font-size: 2.5rem;
}

.container h1 span {
  color: #a855f7;
}

.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 25px;
  background: #a855f7;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #9333ea;
}

.skills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.skill-group h3 {
  color: #ffffff;
  margin-bottom: 10px;
}

.skill-group ul li {
  list-style: circle;
  margin-left: 20px;
}

.project,
.job {
  margin-bottom: 40px;
  background: #1e1e1e;
  padding: 20px;
  border-left: 4px solid #a855f7;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(168, 85, 247, 0.1);
}

.project h3,
.job h3 {
  color: #ffffff;
}

footer {
  text-align: center;
  padding: 20px;
  background: #1a1a1a;
  color: #aaa;
}

/* Animations */
.fade-in {
  opacity: 0;
  animation: fadeIn 1s forwards;
}

.delay-1 {
  animation-delay: 0.5s;
}

.delay-2 {
  animation-delay: 1s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Contact Icons Animation */
.contact-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}

.icon-link {
  color: #a855f7;
  font-size: 2rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.icon-link:hover {
  transform: scale(1.2) rotate(5deg);
  color: #ffffff;
  text-shadow: 0 0 10px #a855f7;
}
