:root {
  --primary-color: #0d6efd; /* konsisten di seluruh halaman */
  --text-color: #212529;
}

/* General */
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: var(--text-color);
  padding-top: 70px;
  background-color: #ffffff;
}

/* Jumbotron / hero */
.jumbotron-hero {
  background-color: #f8f9fa;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  position: relative;
  overflow: hidden;
}

.profile-img {
  width: 200px;
  height: 200px;
  object-fit: cover;
}

.carousel-item img {
  /*  <<<--- tambahan */
  height: 300px; /*  <<<--- tambahan */
  object-fit: cover; /*  <<<--- tambahan */
  border-radius: 15px; /*  <<<--- tambahan */
}

#home {
  padding-bottom: 30px;
  position: relative;
  overflow: hidden;
}

/* Section spacing */
section {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

#about {
  margin-top: 70px;
}

/* Footer */
footer {
  font-size: 0.95rem;
}

/* Heart animation */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}
.small-heart {
  font-size: 1.2rem;
  animation: pulse 1.4s infinite;
}

/* Wave animation di bagian hero */
.wave-container {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  height: 80px;
}

.wave {
  width: 200%;
  height: 100%;
  animation: waveMove 6s linear infinite;
}

.wave path {
  fill: var(--primary-color); /* senada dengan tema */
}

@keyframes waveMove {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsiveness */
@media (max-width: 767.98px) {
  .profile-img {
    width: 160px;
    height: 160px;
  }
  section {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .wave-container {
    height: 60px;
  }
}
