:root {
  --cream-bg: #efebe2;
  --text-dark: #222;
  --warna-1: #0f172a;
  --warna-2: #04203d;
  --warna-3: ;
  --warna-cerah: #ffffff;
  --warna-gelap: #000000;
}
html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  background-color: var(--cream-bg);
  overflow-x: hidden;
  scroll-behavior: smooth;
}
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 20px 0 20px;
  z-index: 1000;
  display: flex;
  justify-content: center;
}

.navbar-kontainer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--warna-cerah);
  width: 100%;
  max-width: 1000px;
  padding: 10px 10px 10px 30px;
  border-radius: 50px;
  box-shadow: 0 10px 30px var(--warna-gelap);
}
.nav-kiri .logo {
  text-decoration: none;
  color: var(--warna-gelap);
  font-size: 1.2rem;
  font-weight: 800;
}
.nav-kiri .logo span {
  color: var(--warna-1);
}
.nav-tengah {
  display: flex;
  list-style: none;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav-tengah li a {
  text-decoration: none;
  color: #64748b;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: color 0.3s ease;
}
.nav-tengah li a:hover {
  color: var(--warna-gelap);
}
.nav-kanan {
  display: flex;
  align-items: center;
}

.btn-penutup {
  text-decoration: none;
  background-color: var(--warna-1);
  color: var(--warna-cerah);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background-color 0.3s ease;
}

.btn-penutup:hover {
  background-color: var(--warna-2);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--warna-1);
}

.menu-mobile {
  position: absolute;
  top: 85px;
  left: 55%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 400px;
  background-color: var(--warna-cerah);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  padding: 10px 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.menu-mobile.active {
  opacity: 1;
  visibility: visible;
  top: 95px;
}
.menu-mobile a {
  text-decoration: none;
  color: #0f172a;
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 10px;
  border-bottom: 1px solid #f1f5f9;
}
.menu-mobile a:last-child {
  border-bottom: none;
}
@media (max-width: 768px) {
  .navbar-kontainer {
    padding: 10px 20px;
    width: 100%;
  }
  .nav-kiri .logo {
    font-size: 1rem;
  }

  .nav-tengah {
    display: none;
  }
  .btn-penutup {
    display: none;
  }
  .hamburger {
    display: flex;
    align-items: center;
    padding-right: 0;
  }
}

.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 100%);
  background-color: var(--warna-gelap);
  display: flex;
  align-items: center;
}

.zoom-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.zoom-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  animation: autoZoom 20s infinite alternate ease-in-out;
}

@keyframes autoZoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.25);
  }
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.2) 100%
  );
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  color: white;
  padding: 0 10%;
  max-width: 700px;
  margin-top: -5vh;
}
.hero-content h1 {
  font-size: 5.5rem;
  font-weight: 800;
  margin: 0 0 20px 0;
  letter-spacing: -2px;
}
.hero-content p {
  font-size: 1.2rem;
  line-height: 1.6;
  opacity: 0.9;
  max-width: 500px;
}

.content,
.section-padding {
  padding: 80px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-align: center;
  color: var(--warna-1);
}

.section-desc,
.pContainer {
  text-align: center;
  color: #64748b;
  margin-bottom: 50px;
  font-size: 1.1rem;
  line-height: 1.8;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.card {
  background-color: var(--warna-cerah);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}
.card:hover {
  transform: translateY(-10px);
}
.card i {
  font-size: 2.5rem;
  color: var(--warna-1);
  margin-bottom: 15px;
}
.card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--warna-1);
}
.card p,
.card ul {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
}
.card ul {
  margin-left: 20px;
}
.card-positif {
  border-top: 5px solid #10b981;
}
.card-negatif {
  border-top: 5px solid #ef4444;
}

#image {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.container {
  width: 100%;
  display: flex;
  justify-content: center;
  height: 350px;
  gap: 16px;
  transition: 0.4s ease;
  padding: 0;
  list-style: none;
}
.container li {
  position: relative;
  overflow: hidden;
  flex: 0 0 80px;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 5px 10px 15px rgba(0, 0, 0, 0.2);
  transition: 0.4s ease;
}
.container li img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s ease;
}
.container li .conten {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  color: var(--warna-cerah);
  padding: 20px;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  opacity: 0;
  visibility: hidden;
  transition: 0.4s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.container:hover {
  gap: 10px;
}
.container li:hover,
.container li.active {
  flex: 0 1 350px;
  z-index: 10;
}
.container li:hover .conten,
.container li.active .conten {
  opacity: 1;
  visibility: visible;
}
.conten span {
  text-align: center;
  width: 100%;
  transform: translateY(20px);
  transition: 0.4s ease;
}
.container li:hover .conten span,
.container li.active .conten span {
  transform: translateY(0);
}
.conten h2 {
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 5px;
}
.conten p {
  color: #e2e8f0;
  font-size: 0.85rem;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
    height: auto;
    min-height: 500px;
    align-items: center;
  }
  .container li {
    flex: 0 0 70px;
    width: 100%;
    max-width: 350px;
  }
  .container li:hover,
  .container li.active {
    flex: 0 1 250px;
  }
}
footer{
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background: var(--text-dark);
  color: var(--cream-bg);
}