* {
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #1e293b;
  padding-top: 70px; /* space for fixed navbar */
}

/* =====================
   LAYOUT
===================== */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

.logo img {
  height: 42px; /* ukuran aman corporate */
  width: auto;
  display: block;
}

/* =====================
   NAVBAR (FIXED & CLICKABLE)
===================== */
.navbar {
  background: #0f172a;
  color: white;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10000; /* WAJIB */
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.navbar a {
  color: white;
  margin-left: 20px;
  text-decoration: none;
  font-size: 14px;
}

.navbar a:hover {
  text-decoration: underline;
}

/* =====================
   HERO
===================== */
.hero {
  background: linear-gradient(135deg, #ffffff, #ffffff);
  color: rgb(23, 25, 126);
  padding: 120px 0;
  position: relative;
  z-index: 1;
}

.hero-logo {
  height: 70px;
  margin-bottom: 20px;
}

.hero h1 {
  max-width: 700px;
  font-size: 36px;
}

.hero p {
  max-width: 600px;
  margin-top: 15px;
}

.btn-primary {
  display: inline-block;
  margin-top: 25px;
  background: white;
  color: #1e3a8a;
  padding: 14px 26px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

/* =====================
   SLIDE BACKGROUND
===================== */
.slide-bg {
  height: 420px;
  background: url("images/2.jpg") repeat-x;
  background-size: cover;
  animation: slideBg 60s linear infinite;
  position: relative;
  z-index: 1;
}

@keyframes slideBg {
  from {
    background-position: 0 center;
  }
  to {
    background-position: -2000px center;
  }
}

.slide-bg .overlay {
  background: rgba(15, 23, 42, 0.75);
  height: 100%;
  display: flex;
  align-items: center;
  pointer-events: none; /* FIX KLIK */
}

.slide-bg .overlay a {
  pointer-events: auto;
}

.slide-bg h2,
.slide-bg p {
  color: white;
}

/* =====================
   SECTION
===================== */
.section {
  padding: 90px 0;
  position: relative;
  z-index: 1;
}

.gray {
  background: #f1f5f9;
}

.section h2 {
  color: #1e3a8a;
}

/* =====================
   GRID & CARD
===================== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.card {
  background: white;
  padding: 25px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  font-weight: 600;
}

/* =====================
   REVEAL TEXT
===================== */
.reveal-section {
  background: #0f172a;
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.reveal {
  opacity: 0;
  transform: translateX(-40px);
  animation: revealText 1s ease forwards;
}

.delay {
  animation-delay: 0.3s;
}

@keyframes revealText {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.reveal-section h2,
.reveal-section p {
  color: white;
}

/* =====================
   FOOTER
===================== */
footer {
  background: #020617;
  color: #cbd5f5;
  text-align: center;
  padding: 20px;
}

.footer-logo {
  height: 36px;
  margin-bottom: 10px;
}

/* =====================
   MOBILE SAFE
===================== */
@media (max-width: 768px) {
  .slide-bg {
    animation: none;
    background-position: center;
  }
}

/* =====================
   ACTIVE NAV MENU
===================== */
.navbar nav a {
  position: relative;
  padding-bottom: 4px;
}

.navbar nav a.active {
  font-weight: 600;
}

.navbar nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: #2563eb; /* accent blue */
}

.reveal-bg {
  background: url("images/1.jpg") center / cover no-repeat;
  position: relative;
}

.reveal-bg .overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.8);
  pointer-events: none;
}

.reveal-bg .content {
  position: relative;
  z-index: 2;
}

.reveal-bg h2,
.reveal-bg p {
  color: white;
}
