* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
}


body {
  background: #f4f7fb;
}

/* NAVBAR */
header {
  z-index: 9999;
  background: #0a2a66;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  position: relative;
}

/* LOGO */
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-weight: bold;
}

.logo-img {
  height: 40px;
}

/* MENU DESKTOP */
nav {
  display: flex;
  gap: 20px;
}

nav a {
  color: white;
  text-decoration: none;
}

/* TOMBOL ☰ */
 @media (max-width: 768px) {

  .menu-toggle {
    display: block;
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 26px;
    background: #00c3ff;
    padding: 6px 10px;
    border-radius: 6px;
    z-index: 1001;
  }

  nav {
    position: fixed;
    top: 0;
    right: -260px;
    width: 260px;              /* KECILIN MENU */
    height: 100vh;
    background: #0a2a66;      /* JANGAN TRANSPARAN */
    flex-direction: column;
    padding-top: 80px;
    transition: 0.3s;
    z-index: 999;
    box-shadow: -5px 0 15px rgba(0,0,0,0.3);
  }

  nav a {
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    color: white;
  }

  nav.active {
    right: 0;
  }
}


  nav a {
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
  }

  nav.active {
    right: 0; /* muncul dari kanan */
  }

  

  nav a {
    padding: 15px;
    border-top: 1px solid rgba(255,255,255,0.2);
  }


nav {
  display: flex;
  gap: 20px;
  box-shadow: 0 5px 15px  rgba(0,0,0,0,2)
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-weight: bold;
}

.logo-wrap img {
  height: 40px;
}.logo-img {
  height: 45px;
  margin-right: auto;
}


header h1 {
  color: white;
  header {
  z-index: 9999;
}
  
}

nav a {
  color: white;
  margin-left: 25px;
  text-decoration: none;
}

nav a:hover {
  color: #00c3ff;
}

/* HERO */
.hero {
  position: relative;
  z-index: 1;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;

  background: linear-gradient(rgba(10,42,102,0.7), rgba(10,42,102,0.7)),
              url('assets/bg1.jpeg') center/cover no-repeat;

  animation: slideBg 12s infinite;

  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}
.hero h2 {
  font-size: 50px;
  color: white;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}

.hero p {
  margin: 10px 0;
}

.btn {
  display: inline-block;
  background: #00c3ff;
  color: white;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 10px;
}

/* SECTION */
.container {
  padding: 80px 60px;
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 20px;
  margin-top: 30px;
}

.service {
  background: white;
  padding: 30px;
  border-radius: 12px;
  transition: 0.3s;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.service h3 {
  text-align: center;
}

.service p {
  text-align: center;
  margin-top: 10px;
}
.service:hover {
  transform: translateY(-10px);
  background: #0a2a66;
  color: white;
}

/* CTA */
.cta {
  background: #0a2a66;
  color: white;
  padding: 60px;
  text-align: center;
}

/* CARD */
.card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  margin-top: 20px;
}

/* FOOTER */
footer {
  background: #0a2a66;
  color: white;
  text-align: center;
  padding: 20px;
}

/* Service */
.service img {
  margin-bottom: 15px;
  transition: 0.3s;
}

.service img:hover {
  transform: scale(1.05);
}
@keyframes slideBg {
  0% {
    background-image: linear-gradient(rgba(10,42,102,0.7), rgba(10,42,102,0.7)),
                      url('assets/bg4.jpeg');
  }
  33% {
    background-image: linear-gradient(rgba(10,42,102,0.7), rgba(10,42,102,0.7)),
                      url('assets/bg2.jpeg');
  }
  66% {
    background-image: linear-gradient(rgba(10,42,102,0.7), rgba(10,42,102,0.7)),
                      url('assets/bg3.jpeg');
  }
  100% {
    background-image: linear-gradient1(rgba(10,42,102,0.7), rgba(10,42,102,0.7)),
                      url('assets/bg1.jpeg');
  }
}
/* MOBILE */
@media (max-width: 768px) {

  header {
    flex-direction: column;
    padding: 15px;
    text-align: center;
  }

  nav {
    margin-top: 10px;
  }

  nav a {
    display: inline-block;
    margin: 8px;
  }

  .hero h2 {
    font-size: 28px;
  }

  .container {
    padding: 40px 20px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .cta {
    padding: 40px 20px;
  }

}/* tombol garis 3 */
.menu-toggle {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

/* versi HP */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  nav {
    display: none;
    flex-direction: column;
    background: #0a2a66;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    text-align: center;
  }

  nav a {
    padding: 15px;
    display: block;
    border-top: 1px solid rgba(255,255,255,0.2);
  }

  nav.active {
    display: flex;
  }

}
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.65); /* lebih gelap dikit biar kontras */
  display: none;
  z-index: 998;
}

#overlay.active {
  display: block;
}

/* ===== STYLE ARTIKEL ===== */
.article {
  max-width: 800px;
  margin: 80px auto;
  padding: 25px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.article h1 {
  margin-bottom: 20px;
  color: #0a2a66;
  font-size: 32px;
}

.article h2 {
  margin-top: 25px;
  color: #0a2a66;
}

.article p {
  margin-top: 12px;
  line-height: 1.7;
  color: #333;
}

.article ul {
  margin-top: 10px;
  padding-left: 20px;
}

.article li {
  margin-bottom: 8px;
}
