* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-color: #dfe7f1;
  --primary-color: #0a4a97;
  --text-color: #1d3f6e;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
}

.container {
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
}

/* ================= NAVBAR ================= */
.navbar {
  padding: 28px 0 10px;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  width: 48px;
}

.logo span {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-color);
}

/* MENU */
.nav-menu ul {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-color);
  font-size: 1rem;
  font-weight: 500;
  position: relative;
  transition: 0.3s;
}

/* 🔥 Hover Effect (clean & premium) */
.nav-menu a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: -6px;
  background-color: var(--primary-color);
  transition: 0.3s ease;
}

.nav-menu a:hover {
  color: var(--primary-color);
}

.nav-menu a:hover::after {
  width: 100%;
}

/* ================= HERO ================= */
.hero {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  padding: 40px 0;
}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.hero-text h1 {
  font-size: 5rem;
  font-weight: 800;
  line-height: 1.05;
  color: var(--primary-color);
  margin-bottom: 30px;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #0a4a97, #0a4a97);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: background 0.05s ease;
}

.hero-text p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #3b5c85;
  max-width: 550px;
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: contain;

  border-radius: 0;     /* hilangkan frame */
  box-shadow: none;     /* hilangkan shadow */
}
.hero-image {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}
.hero-image::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: #0a4a97;
  border-radius: 50%;
  top: 20%;
  right: 10%;
  z-index: 0;
}

.hero-image img {
  position: relative;
  z-index: 2;
}
.hero-image img {
  width: 100%;
  max-width: none;
  transform: scale(1.1);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .hero-text {
    text-align: center;
  }

  .hero-text p {
    margin: 0 auto;
    max-width: 600px;
  }
}

@media (max-width: 992px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 3.5rem;
  }

  .hero-image {
    justify-content: center;
  }

  .hero-image img {
    height: auto;
  }
}

@media (max-width: 600px) {
  .nav-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .nav-menu ul {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-text p {
    font-size: 1rem;
  }
}

/* ================= CTA SECTION ================= */
.cta {
  padding: 100px 0;
  text-align: center;
  background: #f5f8fc;
}

.cta-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.cta h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.4;
  margin-bottom: 24px;
}

.cta p {
  font-size: 1.1rem;
  color: #4a6b91;
  line-height: 1.8;
  margin-bottom: 40px;
}

/* BUTTON */
.btn-primary {
  display: inline-block;
  padding: 14px 34px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  background: var(--primary-color);
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* 🔥 Hover Effect Premium */
.btn-primary::before {
  content: "";
  position: absolute;
  width: 0%;
  height: 100%;
  left: 0;
  top: 0;
  background: #08387000;
  transition: 0.4s ease;
  z-index: 0;
}

.btn-primary:hover::before {
  width: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(10, 74, 151, 0.25);
}

.btn-primary span {
  position: relative;
  z-index: 1;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .cta {
    padding: 70px 20px;
  }

  .cta h2 {
    font-size: 1.8rem;
  }

  .cta p {
    font-size: 1rem;
  }
}
/* Tambahkan di bagian atas atau di akhir file CSS Anda */

/* Keyframes untuk slide in dari bawah */
@keyframes slideInFromBottom {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation untuk hero-text */
.hero-text {
  animation: slideInFromBottom 0.8s ease-out forwards;
}

/* Animation untuk hero-image dengan delay */
.hero-image {
  animation: slideInFromBottom 0.8s ease-out 0.2s forwards;
  opacity: 0;
}

/* Optional: Jika ingin menggunakan Intersection Observer untuk trigger saat scroll */
.hero-text.reveal,
.hero-image.reveal {
  animation: slideInFromBottom 0.8s ease-out forwards;
}

.hero-image.reveal {
  animation: slideInFromBottom 0.8s ease-out 0.2s forwards;
}
/* Navbar Sticky */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #e8f0f8; /* Sesuaikan dengan background color navbar Anda */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

/* Optional: Tambahkan shadow lebih tebal saat scroll */
.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Ensure logo dan nav-menu stay aligned */
.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.nav-menu ul {
  display: flex;
  gap: 20px;
  list-style: none;
}
.hero-image img {
  transition: transform 0.3s ease, filter 0.3s ease;
}

.hero-image img:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}
.reveal-bottom {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.9s ease, transform 0.9s ease;
  will-change: opacity, transform;
}

.reveal-bottom.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.3s;
}

.delay-3 {
  transition-delay: 0.5s;
}
/* ================= LAYANAN ================= */
.layanan {
  padding: 120px 0;
  background: #ffffff;
}

.layanan-header {
  text-align: center;
  margin-bottom: 60px;
}

.layanan-header h2 {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 16px;
}

.layanan-header p {
  font-size: 1.1rem;
  color: #4a6b91;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* GRID */
.layanan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* CARD */
.layanan-card {
  background: #f3f7fc;
  padding: 32px;
  border-radius: 20px;
  transition: all 0.3s ease;
  text-align: left;
}

.layanan-card h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 14px;
}

.layanan-card p {
  font-size: 0.95rem;
  color: #4a6b91;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* BUTTON SECONDARY */
.btn-secondary {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid var(--primary-color);
  border-radius: 999px;
  color: var(--primary-color);
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-2px);
}

/* HOVER CARD */
.layanan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(10, 74, 151, 0.15);
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .layanan-grid {
    grid-template-columns: 1fr;
  }

  .layanan-card {
    text-align: center;
  }
}
/* ================= FOOTER ================= */
.footer {
  background: #0a4a97;
  color: #ffffff;
  padding-top: 70px;
}

.footer-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

/* LOGO */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo img {
  width: 40px;
}

.footer-logo span {
  font-size: 1.4rem;
  font-weight: 700;
}

/* TEXT */
.footer-left p {
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.85;
  max-width: 400px;
}

/* TITLE */
.footer h4 {
  font-size: 1.1rem;
  margin-bottom: 16px;
}

/* LIST */
.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 10px;
  font-size: 0.95rem;
  opacity: 0.85;
}

/* LINK */
.footer ul li a {
  color: #ffffff;
  text-decoration: none;
  transition: 0.3s;
}

.footer ul li a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* BOTTOM */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  text-align: center;
  padding: 20px 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .footer-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-left p {
    margin: 0 auto;
  }

  .footer-logo {
    justify-content: center;
  }
}
.arrow-icon {
  margin-left: 6px;
  transition: transform 0.3s ease;
}

.has-dropdown:hover .arrow-icon {
  transform: rotate(180deg);
}