/* Base reset and smooth scroll */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #2e026d, #f43f5e);
  color: white;
  padding: 40px 20px;
  line-height: 1.7;
}

/* Header */
header {
  text-align: center;
  margin-bottom: 60px;
  animation: fadeDown 1s ease;
}

header h1 {
  font-size: 3rem;
  background: linear-gradient(90deg, #e879f9, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

header p {
  font-size: 1.2rem;
  color: #f3f3f3;
  margin-top: 10px;
}

/* Sections */
main {
  max-width: 900px;
  margin: auto;
}

main section {
  margin-bottom: 60px;
  animation: fadeInUp 1s ease both;
  padding: 10px 0;
}

main h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: #f9a8d4;
  position: relative;
}

main h2::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #f472b6;
  position: absolute;
  bottom: -8px;
  left: 0;
  border-radius: 2px;
}

main p, main li {
  font-size: 1.05rem;
  color: #f4f4f4;
}

ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

ul li {
  list-style: none;
  background: rgba(255, 255, 255, 0.15);
  padding: 10px 18px;
  border-radius: 25px;
  transition: 0.3s;
}

ul li:hover {
  background: #f472b6;
  transform: scale(1.05);
  cursor: pointer;
}

/* Projects */
article {
  margin-bottom: 20px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

article h3 {
  color: #fbcfe8;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

article a {
  display: inline-block;
  margin-top: 10px;
  color: #f472b6;
  font-weight: 600;
  transition: 0.3s;
}

article a:hover {
  color: #f9a8d4;
  transform: translateX(5px);
}

/* Contact Links */
#contact a {
  color: #f9a8d4;
  font-weight: 500;
}

#contact a:hover {
  text-decoration: underline;
  color: #fff;
}

/* Footer */
footer {
  text-align: center;
  font-size: 0.9rem;
  color: #d1d5db;
  margin-top: 60px;
  animation: fadeIn 2s ease;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  header h1 {
    font-size: 2.2rem;
  }

  main h2 {
    font-size: 1.4rem;
  }

  ul {
    flex-direction: column;
  }

  ul li {
    width: 100%;
    text-align: center;
  }
}
/* Cursor animation for typewriter */
.cursor {
  display: inline-block;
  color: #f9a8d4;
  animation: blink 0.7s steps(1) infinite;
  font-weight: bold;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
/* Reveal animation on scroll */
section {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-out;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 25px;
  background: #f472b6;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: 0.3s;
}

#backToTop:hover {
  background: #ec4899;
}
.resume-btn {
  display: inline-block;
  background: #f472b6;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: bold;
  margin-top: 20px;
  transition: 0.3s;
}

.resume-btn:hover {
  background: #ec4899;
  transform: scale(1.05);
}
#scrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  height: 5px;
  background: #f472b6;
  width: 0%;
  z-index: 9999;
}
