/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BASE */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.7;
  color: #1f2937;
  background: #ffffff;
}

a {
  color: #2563eb;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* HEADER */
.header {
  background: #0f172a;
  border-bottom: 1px solid #1e293b;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo {
  height: 42px;
}

.header nav a {
  color: #e5e7eb;
  margin-left: 18px;
  font-size: 14px;
  font-weight: 500;
}

.header nav a:hover {
  color: #ffffff;
}

/* =====================================================
   HERO LAMA (UNTUK HALAMAN NON-HOMEPAGE SAJA)
   ===================================================== */
.hero {
  background: transparent; /* NETRALIN */
  border-bottom: 1px solid #e5e7eb;
}

.hero img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-text {
  padding: 32px 0;
}

.hero-text h1 {
  font-size: 28px;
  margin-bottom: 14px;
  color: #020617;
}

.hero-text p {
  margin-bottom: 12px;
  max-width: 900px;
}

/* =====================================================
   HERO ANIMATED (HOMEPAGE BANNER)
   ===================================================== */
.hero-animated {
  position: relative;
  min-height: 420px;
  width: 100%;
  background-image: url('/assets/images/home-banner.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(2,6,23,0.85),
    rgba(2,6,23,0.6)
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  padding: 0 16px;
  animation: fadeSlideUp 1s ease-out forwards;
}

.hero-title {
  font-size: 36px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-title span {
  display: block;
  font-size: 22px;
  font-weight: 400;
  color: #93c5fd;
  margin-top: 6px;
}

.hero-desc {
  max-width: 720px;
  font-size: 16px;
  margin-bottom: 28px;
  color: #e5e7eb;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* BUTTON */
.btn-primary {
  background: #2563eb;
  color: #ffffff;
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 600;
  transition: all .3s ease;
}

.btn-primary:hover {
  background: #1e40af;
  transform: translateY(-2px);
}

.btn-secondary {
  border: 1px solid #93c5fd;
  color: #93c5fd;
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 500;
  transition: all .3s ease;
}

.btn-secondary:hover {
  background: rgba(147,197,253,0.15);
}

/* MAIN CONTENT */
main section {
  padding: 40px 0;
  border-bottom: 1px solid #e5e7eb;
}

main section:last-child {
  border-bottom: none;
}

h2 {
  font-size: 22px;
  margin-bottom: 16px;
  color: #020617;
}

h3 {
  font-size: 18px;
  margin: 20px 0 10px;
}

ul {
  margin-left: 18px;
}

ul li {
  margin-bottom: 8px;
}

/* FOOTER */
.footer {
  background: #020617;
  color: #cbd5f5;
  padding: 30px 0;
  text-align: center;
}

.footer a {
  color: #93c5fd;
  font-size: 14px;
}

.footer p {
  margin-bottom: 8px;
  font-size: 14px;
}

/* ANIMATION */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .header .container {
    flex-direction: column;
  }

  .header nav {
    margin-top: 10px;
  }

  .header nav a {
    margin: 0 10px;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-title span {
    font-size: 18px;
  }

  .hero-desc {
    font-size: 15px;
  }

  main section {
    padding: 28px 0;
  }
}
