/* Hero Section */
.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 80px 0 60px 0;
  display: flex;
  align-items: center;
  background: url(../assets/img/hero-bg.png) top center no-repeat;
  background-size: cover;
}

.hero h1 {
  margin: 0;
  font-size: 40px;
  font-weight: 700;
  line-height: 56px;
}

.hero p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 5px 0 30px 0;
  font-size: 20px;
  font-weight: 400;
}

.hero .btn-get-started {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 40px;
  border-radius: 4px;
  transition: 0.5s;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.hero .btn-get-started i {
  margin-left: 5px;
  font-size: 18px;
  transition: 0.3s;
}

.hero .btn-get-started:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.hero .btn-get-started:hover i {
  transform: translateX(5px);
}

.hero .btn-watch-video {
  font-size: 16px;
  transition: 0.5s;
  color: var(--default-color);
  font-weight: 600;
}

.hero .btn-watch-video i {
  color: var(--accent-color);
  font-size: 32px;
  transition: 0.3s;
  line-height: 0;
  margin-right: 8px;
}

.hero .btn-watch-video:hover {
  color: var(--accent-color);
}

.hero .btn-watch-video:hover i {
  color: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.hero .animated {
  animation: up-down 2s ease-in-out infinite alternate-reverse both;
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 28px;
    line-height: 36px;
  }

  .hero p {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }
}

@keyframes up-down {
  0% {
    transform: translateY(10px);
  }

  100% {
    transform: translateY(-10px);
  }
}

.hero-img {
  text-align: center;
  position: relative;
  top: -100px; /* gambar naik ke atas */
}

.hero-img img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

@media (max-width: 991px) {
  .hero-img {
    margin-top: 40px;
    top: 0; /* reset posisi gambar di layar kecil */
  }
}

/* Value Section */
.values {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: stretch;
  margin-top: 40px;
  flex-wrap: wrap;
}

.values .card {
  background-color: var(--surface-color);
  color: var(--default-color);
  padding: 32px 24px 24px 24px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: box-shadow 0.3s, transform 0.3s;
  border-radius: 16px;
  border: none;
  flex: 1 1 320px;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.values .card img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 24px;
  transition: transform 0.4s;
  transform: scale(1.08);
}

.values .card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--heading-color, #1a355b);
}

.values .card p {
  font-size: 16px;
  color: var(--default-color);
  margin-bottom: 0;
}

.values .card:hover {
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.14);
  transform: translateY(-4px) scale(1.03);
}

.values .card:hover img {
  transform: scale(1);
}

@media (max-width: 991px) {
  .values {
    gap: 20px;
  }
  .values .card {
    max-width: 100%;
    padding: 24px 12px;
  }
  .values .card img {
    width: 90px;
    height: 90px;
    margin-bottom: 18px;
  }
}

@media (max-width: 640px) {
  .values {
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
  }
  .values .card {
    padding: 18px 8px;
    border-radius: 10px;
  }
  .values .card img {
    width: 70px;
    height: 70px;
    margin-bottom: 12px;
  }
}

.values {
  margin-top: 32px;
  margin-bottom: 32px;
}
.values .card {
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(90, 100, 115, 0.1);
  transition: box-shadow 0.2s, transform 0.2s;
  background: #fff;
  padding: 32px 18px 24px 18px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.values .card:hover {
  box-shadow: 0 8px 32px rgba(90, 100, 115, 0.18);
  transform: translateY(-6px) scale(1.02);
}
.values img {
  margin-bottom: 12px;
}
.values h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: #0a3557;
  font-weight: 700;
}
.values p {
  font-size: 1.05rem;
  color: #374151;
}
@media (max-width: 991px) {
  .values {
    flex-direction: column !important;
    gap: 24px !important;
    align-items: center;
  }
}
