/* === Global Styles === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
body {
  background-color: #0e1114;
  color: #fff;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
  transition: 0.3s;
}
.btn {
  display: inline-block;
  padding: 10px 25px;
  border-radius: 5px;
  font-weight: 500;
  transition: all 0.3s;
}
.primary-btn {
  background: #00ff88;
  color: #0f1114;
}
.primary-btn:hover {
  background: #00cc6a;
}
.secondary-btn {
  border: 1px solid #00ff88;
  color: #00ff88;
}
.secondary-btn:hover {
  background: #00ff88;
  color: #0f1114;
}

/* === Navbar === */
header {
  background: #121417;
  padding: 20px 60px;
  border-bottom: 1px solid #1a1c1f;
  position: sticky;
  top: 0;
  z-index: 999;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #00ff88;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}
.nav-links li a:hover {
  color: #00ff88;
}
.talk-btn {
  border: 1px solid #00ff88;
  color: #00ff88;
  padding: 8px 18px;
  border-radius: 6px;
}
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* === Hero === */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 100px 60px;
  gap: 40px;
}
.hero-text {
  max-width: 550px;
}
.hero h1 {
  font-size: 3rem;
  margin: 15px 0;
}
.hero h1 span {
  color: #00ff88;
}
.hero1-img img {
  width: 350px;
  border-radius: 12px;
}
.hero-text .primary-btn {
  margin-top: 25px; /* ubah angka sesuai selera: 20–40px bagus */
}


/* === About === */
.about {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 100px 60px;
  background: #14171b;
  gap: 40px;
}
.about h2 {
  color: #00ff88;
  margin-bottom: 20px;
}
.about p {
  margin-bottom: 25px;
}
.stats {
  display: flex;
  gap: 30px;
  margin: 30px 0;
}
.stat h3 {
  color: #00ff88;
  font-size: 1.8rem;
}
.about-img {
  width: 700px;
  border-radius: 12px;
}
.stats {
  display: flex;
  justify-content: center; /* ini yang bikin ke tengah */
  align-items: center;
  gap: 60px; /* bisa ubah jaraknya antar item */
  text-align: center; /* biar teks di tiap stat juga rata tengah */
  margin: 30px 0;
}
.btn-cv {
  display: inline-block;
  background-color: #007bff;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.btn-cv:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}



/* === Services === */
.services {
  padding: 100px 60px;
  text-align: center;
}
.services h2 {
  color: #00ff88;
  margin-bottom: 50px;
}
.service-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
}
.service-card {
  background: #1a1c1f;
  padding: 40px;
  width: 300px;
  border-radius: 10px;
  transition: 0.3s;
}
.service-card:hover {
  transform: translateY(-10px);
}
.highlight {
  background: #00ff88;
  color: #0e1114;
}

/* === Portfolio === */
.portfolio {
  padding: 100px 60px;
  text-align: center;
}
.portfolio h2 {
  color: #00ff88;
  margin-bottom: 40px;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.portfolio-grid img {
  width: 100%;
  border-radius: 10px;
  transition: 0.3s;
}
.portfolio-grid img:hover {
  transform: scale(1.05);
}

/* === Contact === */
.contact {
  padding: 100px 60px;
  text-align: center;
  background: #14171b;
}
.contact h2 {
  color: #00ff88;
  margin-bottom: 20px;
}
.contact p {
  margin-bottom: 20px;
}

/* === Footer === */
footer {
  background: #121417;
  text-align: center;
  padding: 25px;
  border-top: 1px solid #1a1c1f;
  color: #aaa;
}

/* === Animations === */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeIn 1s ease-out forwards;
}
.slide-up {
  opacity: 0;
  transform: translateY(50px);
  animation: slideUp 1.2s ease-out forwards;
}
@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Responsive === */
@media (max-width: 992px) {
  .hero, .about {
    flex-direction: column;
    text-align: center;
  }
  .hero-img img, .about-img img {
    width: 80%;
  }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: #0f1114;
    position: absolute;
    top: 70px;
    right: 60px;
    padding: 20px;
    border-radius: 10px;
  }
  .nav-links.active {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
}
