* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: black;
  color: #ffffff;
  min-height: 100vh;
}
.floating-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

.floating-background span {
  position: absolute;
  bottom: -50px;
  font-size: 18px;
  background: linear-gradient(to top, rgb(255, 0, 255),#05f5d5,  rgb(255, 103, 128));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  animation: floatUp 20s linear infinite;
}

@keyframes floatUp {
  0% {
    transform: translateY(100vh);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh);
    opacity: 0;
  }
}


a {
  color: #05f5d5;
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover {
  color: #00ffff;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 1rem 0;
  border-bottom: 1px solid #eaeaea;
}

header h1 {
  font-weight: 700;
  font-size: 2rem;
  color: #05f5d5;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

nav a {
  font-weight: 600;
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
  text-align: center;
  padding: 3rem 1rem;
}

.hero h2 {
  font-size: 3rem;
  color: #05f5d5;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 2rem 0;
  color: #f0f0f0;
}

.btn-primary {
  background-color: #05f5d5;
  color: black;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: 0.3s ease;
}

.btn-primary:hover {
  background-color: #00ffff;
  color: black;
}

section {
  margin-bottom: 3rem;
}

section h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  border-bottom: 3px solid #05f5d5;
  display: inline-block;
  padding-bottom: 0.3rem;
}

.projects-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.project-card {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: 0.3s ease;
  min-height: 360px;
  box-shadow: 0 4px 10px rgba(0, 255, 255, 0.1);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 1px 1px 2px black, 0 0 25px #03ffdd, 0 0 5px #03ffdd;
}

.project-card img {
  width: 100%;
  height: 180px;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 1rem;
}

.project-card h4 {
  font-size: 1.2rem;
  color: #00ffd0;
  margin-bottom: 0.5rem;
}

.project-card p {
  font-size: 0.95rem;
  color: #444;
  flex-grow: 1;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.skill {
  background: #05f5d5;
  color: black;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 8px rgba(19, 200, 255, 0.3);
}

.social-icons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.social-icons a {
  color: #ffffff;
  font-size: 28px;
  transition: 0.3s ease;
}

.social-icons a:hover {
  color: #00ffff;
  transform: scale(1.2);
}

footer {
  text-align: center;
  padding: 2rem 1rem;
  border-top: 1px solid #eaeaea;
  color: #999;
  font-size: 0.9rem;
}


@media (max-width: 1024px) {
  .hero h2 {
    font-size: 2.5rem;
  }

  .project-card {
    max-width: 45%;
  }
}

@media (max-width: 768px) {
  nav {
    justify-content: center;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .project-card {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .hero {
    padding: 2rem 1rem;
  }

  .hero h2 {
    font-size: 1.8rem;
  }

  .btn-primary {
    font-size: 0.9rem;
    padding: 0.6rem 1.5rem;
  }

  .project-card {
    padding: 1rem;
  }

  section h3 {
    font-size: 1.5rem;
  }
}
