* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  background: #fdfdfd;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #222;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.2rem;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

/* Hero */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
  color: white;
}

.profile-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 3px solid white;
}

.hero .btn {
  background: #ff6600;
  color: #fff;
  padding: 0.7rem 1.5rem;
  border: none;
  margin-top: 1rem;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
}

/* About */
.about, .skills, .projects, .contact {
  padding: 3rem 2rem;
  text-align: center;
}

.skills .skill-list {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.skill {
  background: #f4f4f4;
  padding: 0.8rem 1.2rem;
  border-radius: 5px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Projects */
.project-cards {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.card {
  background: #fff;
  padding: 1rem;
  border-radius: 10px;
  width: 280px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.card img {
  width: 100%;
  border-radius: 10px;
}

/* Contact */
.contact form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 300px;
  margin: auto;
}

.contact input, .contact textarea {
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.contact .btn {
  background: #222;
  color: white;
  padding: 0.8rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* Footer */
footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 1rem;
}

.skill-list {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1rem;
}

.skill-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
  transition: transform 0.3s ease;
}

.skill-logo:hover {
  transform: scale(1.1);
}

.skill-list {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1rem;
}

.skill-logo {
  width: 80px;     /* ukuran fix */
  height: 80px;    /* ukuran fix */
  object-fit: contain;
  padding: 10px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.skill-logo:hover {
  transform: scale(1.1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: bold;
  color: white;
}

.logo img {
  height: 50px;   /* atur ukuran logo */
  width: auto;
}


