* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background-color: #000;
  color: #fff;
  font-family: 'Poppins', sans-serif;
}

nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 90px;
  background: #001f33;
  box-shadow: 0 0 15px #0ef;
}

nav ul {
  display: flex;
  gap: 25px;
}

nav ul li {
  list-style: none;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

nav ul li a:hover {
  color: #0ef;
  text-shadow: 0 0 10px #0ef;
}

.left {
  font-size: 1.5rem;
  font-weight: 600;
  color: #0ef;
}

/* Hero Section */
.first {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 120px 80px;
  flex-wrap: wrap;
}

.leftsection h3 {
  font-size: 2rem;
}

.leftsection h1 {
  color: #0ef;
  font-size: 2.2rem;
  margin-top: 10px;
}

.rightsection img {
  width: 350px;
  filter: drop-shadow(0 0 20px #0ef);
}

.button1 .btn {
  border: 2px solid #0ef;
  background: transparent;
  color: #0ef;
  padding: 10px 20px;
  border-radius: 30px;
  margin-top: 20px;
  margin-right: 15px;
  cursor: pointer;
  transition: 0.3s;
  text-decoration: none;
  display: inline-block;
}

.button1 .btn:hover {
  background: #0ef;
  color: #000;
  box-shadow: 0 0 20px #0ef;
}


/* Section Divider */
.divider {
  border-bottom: 2px solid #0ef;
  margin: 30px 0;
  box-shadow: 0 0 10px #0ef;
}

/* About */
#about {
  text-align: center;
  padding: 40px;
  animation: fadeIn 1.5s ease-in-out;
}

#about p {
  font-size: 1.2rem;
  margin: 10px 0;
}

/* Skills */
#skills {
  text-align: center;
  padding: 60px;
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.skill-card {
  background: #001f33;
  border: 1px solid #0ef;
  border-radius: 12px;
  padding: 20px;
  transition: 0.4s;
}

.skill-card i {
  font-size: 2rem;
  color: #0ef;
  margin-bottom: 10px;
}

.skill-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 20px #0ef;
}

/* Projects */
#projects {
  text-align: center;
  padding: 60px;
}

.project-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.project-card {
  background: #fff;
  color: #000;
  width: 280px;
  border-radius: 10px;
  overflow: hidden;
  transition: 0.4s;
}

.project-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #0ef;
}

.project-card img {
  width: 100%;
  height: 150px;
}

.project-link {
  display: inline-block;
  background: #0ef;
  color: #000;
  margin: 10px;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  transition: 0.3s;
}

.project-link:hover {
  background: #000;
  color: #0ef;
}

/* Contact */
#contact {
  text-align: center;
  padding: 60px;
}

#contact-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
}

#contact-form input,
#contact-form textarea {
  width: 80%;
  max-width: 400px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #0ef;
  background: #001f33;
  color: white;
}

#contact-form button {
  background: #0ef;
  color: #000;
  padding: 10px 25px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s;
}

#contact-form button:hover {
  background: #000;
  color: #0ef;
  box-shadow: 0 0 15px #0ef;
}

.social-icons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 25px;
}

.social-icon {
  color: #0ef;
  font-size: 1.8rem;
  transition: 0.3s;
}

.social-icon:hover {
  transform: scale(1.2);
  color: #fff;
}

/* Footer */
footer {
  text-align: center;
  padding: 30px;
  background: #001f33;
  color: #0ef;
  box-shadow: 0 0 15px #0ef;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 1.5s forwards;
}

.slide-in {
  transform: translateX(80px);
  opacity: 0;
  animation: slideIn 2s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

