
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #111;
  color: #f5f5f5;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: #f5f5f5;
  transition: 0.3s;
}
a:hover {
  color: #00bfff;
}


.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: #121212;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(42,118,249,0.6);
}

.logo {
  font-size: 1.5rem;
  font-weight: 600;
  color: #00cfff;
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
}


section {
  padding: 60px 20px;
  max-width: 1100px;
  margin: auto;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1s forwards;
}

h1, h2 {
  margin-bottom: 20px;
  color: #00bfff;
}


.home {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.home-text {
  flex: 1;
  padding: 20px;
}
.home-text h1 {
  font-size: 2.5rem;
  font-weight: 600;
}

.home img {
  flex: 1;
  max-width: 350px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(42,118,249,0.6);
}


.btn-group {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  justify-content: flex-start;   
  flex-wrap: wrap;
}

.btn-group .btn {
  padding: 10px 22px;
  background: #00bfff;
  color: #fff;
  border-radius: 8px;
  font-weight: 500;
  transition: 0.3s ease;
}

.btn-group .btn:hover {
  background: #0099cc;
}

.about {
  background: #121212;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(42,118,249,0.6);
}
.about h2 {
  text-align: center;
}


.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 20px;
}
#projects h2 {
  text-align: center;
}
.project-card {
  background: #121212;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(42,118,249,0.6);
  transition: 0.3s;
}
.project-card:hover {
  transform: translateY(-5px);
}


#contact h2 {
  text-align: center;   
}

#contact form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

#contact input,
#contact textarea {
  width: 90%;
  max-width: 500px;
  padding: 12px;
  background: #111;
  border: 1px solid #282626;
  border-radius: 8px;
  color: white;
}

#contact button {
  width: 80%;
  max-width: 250px;
  padding: 12px 20px;
  background: #00bfff;
  border-radius: 8px;
  border: none;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}
#contact button:hover {
  transform: scale(1.05);
}


footer {
  background: #121212;
  padding: 20px;
  text-align: center;
}


@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  
  .nav-links {
    display: none;
    flex-direction: column;
    background: #121212;
    padding: 15px;
    border-radius: 10px;
    position: absolute;
    top: 60px;
    right: 20px;
    gap: 15px;
  }
  .nav-links.active {
    display: flex;
  }
  .hamburger {
    display: block;
  }

  
  .home {
    flex-direction: column;
    text-align: center;
  }
  .home img {
    margin-top: 20px;
    width: 100%;
    max-width: 260px;
  }

  
  .btn-group {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .btn-group .btn {
    width: 85%;
    max-width: 300px;
    text-align: center;
  }
}