* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
  font-family: "Poppins", sans-serif;
}

body {
  background: #f4f7fb;
  color: #333;
}

/* Navbar */
.navbar {
  width: 100%;
  background: white;
  padding: 18px 7%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(29, 28, 28, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-active {
  color: #2b7cff;
  font-weight: 600;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1d4ed8;
}

.logo span {
  color: #00bfff;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.login {
  color: #333;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn-daftar {
  background: white;
  color: #1d4ed8;
  border: 2px solid #dbeafe;
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 600;
  transition: 0.3s;
}

.btn-daftar:hover {
  background: #1d4ed8;
  color: white;
}

/* Menu Navbar */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-menu a {
  color: #1d4ed8;
  font-weight: 500;
  position: relative;
  transition: 0.3s;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: -5px;
  background: #2b7cff;
  transition: 0.3s;
}

.nav-menu a:hover {
  color: #2b7cff;
}

.nav-menu a:hover::after {
  width: 100%;
}

.hero {
  margin: 30px 3%;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(90deg, #4ea5ff, #00d2ff);
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px;
  gap: 40px;
}

.hero{
  position:relative;
  overflow:hidden;
}

/* Efek pantulan */
.hero::before{
  content:'';
  position:absolute;
  top:-100px;
  left:-250px;
  width:220px;
  height:700px;
  background:rgba(255,255,255,0.18);
  transform:rotate(25deg);
  filter:blur(10px);
  animation:glassMove 6s linear infinite;
  z-index:1;
}

/* Animasi gerak */
@keyframes glassMove{

  0%{
    left:-300px;
  }

  100%{
    left:120%;
  }

}

.hero::after{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(
    120deg,
    rgba(255,255,255,0.03),
    rgba(255,255,255,0.08),
    rgba(255,255,255,0.03)
  );
  z-index:1;
}

.hero-text,
.hero-image{
  position:relative;
  z-index:2;
}

@keyframes lightMove{

  0%{
    transform:translate(0,0) scale(1);
  }

  50%{
    transform:translate(50px,30px) scale(1.15);
  }

  100%{
    transform:translate(0,0) scale(1);
  }

}

@keyframes lightMove2{

  0%{
    transform:translate(0,0) scale(1);
  }

  50%{
    transform:translate(-40px,-20px) scale(1.2);
  }

  100%{
    transform:translate(0,0) scale(1);
  }

}

.hero-text {
  flex: 1;
  color: white;
}

.hero-text h1 {
  font-size: 4rem;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-text p {
  font-size: 1.1rem;
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 35px;
  color: #eef7ff;
}

.hero-btn {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-primary {
  background: white;
  color: #1d4ed8;
  padding: 15px 28px;
  border-radius: 40px;
  font-weight: 600;
  transition: 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-primary:hover {
  transform: translateY(-3px);
}

.btn-secondary {
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: white;
  padding: 15px 28px;
  border-radius: 40px;
  font-weight: 600;
  transition: 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-secondary:hover {
  background: white;
  color: #1d4ed8;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-image img{
  animation:floating 4s ease-in-out infinite;
}

@keyframes floating{

  0%{
    transform:translateY(0px);
  }

  50%{
    transform:translateY(-15px);
  }

  100%{
    transform:translateY(0px);
  }

}

.hero-image img {
  width: 100%;
  max-width: 550px;
  border-radius: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

/* SECTION */
.section {
  padding: 50px 7%;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.3rem;
  color: #1d4ed8;
  margin-bottom: 10px;
}

.section-title p {
  color: #666;
}

.card-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.card {
  background: white;
  padding: 35px 25px;
  border-radius: 25px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
  text-align: center;
}

.card:hover {
  transform: translateY(-8px);
}

.card-icon {
  width: 70px;
  height: 70px;
  margin: auto;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #4ea5ff, #00d2ff);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.card h3 {
  margin-bottom: 15px;
  color: #1d4ed8;
}

.card p {
  color: #666;
  line-height: 1.7;
  font-size: 0.95rem;
}

.detail-box{
  margin-top:40px;
  background:white;
  padding:35px;
  border-radius:25px;
  box-shadow:0 10px 25px rgba(0,0,0,0.05);
  display:none;
  animation:fadeIn 0.4s ease;
}

.detail-box h2{
  color:#1d4ed8;
  margin-bottom:15px;
}

.detail-box p{
  color:#666;
  line-height:1.8;
}

@keyframes fadeIn{
  from{
    opacity:0;
    transform:translateY(20px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

.timeline{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  position:relative;
  margin-top:40px;
  gap:20px;
}

.timeline::before{
  content:'';
  position:absolute;
  top:35px;
  left:8%;
  width:84%;
  height:4px;
  background:#dbeafe;
  z-index:1;
}

.timeline-item{
  flex:1;
  text-align:center;
  position:relative;
  z-index:2;
}

.circle{
  width:70px;
  height:70px;
  border-radius:50%;
  background:#d1d5db;
  display:flex;
  align-items:center;
  justify-content:center;
  color:white;
  margin:auto;
  margin-bottom:20px;
  transition:0.3s;
}

.timeline-item.active .circle{
  background:linear-gradient(135deg,#2563eb,#00d2ff);
  transform:scale(1.05);
}

.chat-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: #1d4ed8;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 999;
}

.lanjut{
  width:100%;
  display:flex;
  justify-content:center;
  margin-top:60px;
}

.btn-lanjut{
  display:flex;
  align-items:center;
  gap:10px;
  padding:16px 35px;
  border-radius:50px;
  background:linear-gradient(135deg,#2563eb,#00d2ff);
  color:white;
  font-weight:600;
  font-size:1rem;
  box-shadow:0 10px 25px rgba(37,99,235,0.25);
  transition:0.3s ease;
}

.btn-lanjut:hover{
  transform:translateY(-5px);
  box-shadow:0 15px 30px rgba(37,99,235,0.35);
}

.btn-lanjut i{
  width:18px;
  height:18px;
}

.statistik-gabung{
  margin-top:50px;
}

.statistik-box{
  background:linear-gradient(135deg,#2563eb,#00d2ff);
  padding:45px 30px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:30px;
  box-shadow:0 15px 30px rgba(37,99,235,0.25);
}

.stat-item{
  text-align:center;
  color:white;
  position:relative;
}

.stat-item h2{
  font-size:2.7rem;
  margin-bottom:10px;
  font-weight:700;
}

.stat-item p{
  font-size:1rem;
  opacity:0.95;
}

.stat-item:not(:last-child)::after{
  content:'';
  position:absolute;
  top:50%;
  right:-15px;
  transform:translateY(-50%);
  width:1px;
  height:70px;
  background:rgba(255,255,255,0.3);
}

.footer{
  margin-top:30px;
  background:#ffffff;
  padding:70px 20px 40px;
  text-align:center;
}

.dikelola h2{
  font-size:1rem;
  color:#1e293b;
  margin-bottom:40px;
}

.logo-instansi{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:40px;
  flex-wrap:wrap;
}

.logo-instansi img{
  width:120px;
  object-fit:contain;
  transition:0.3s;
  filter:grayscale(10%);
}

.logo-instansi img:hover{
  transform:scale(1.05);
}

.footer-menu{
  margin-top:50px;
  display:flex;
  justify-content:center;
  gap:40px;
  flex-wrap:wrap;
}

.footer-menu a{
  color:#1e293b;
  font-weight:500;
  transition:0.3s;
}

.footer-menu a:hover{
  color:#2563eb;
}

/* Copyright */
.footer-bottom{
  margin-top:40px;
}

.footer-bottom p{
  color:#64748b;
  margin-bottom:25px;
}

.footer-social{
  display:flex;
  justify-content:center;
  gap:20px;
}

.footer-social a{
  color:#1e293b;
  transition:0.3s;
}

.footer-social a:hover{
  color:#2563eb;
  transform:translateY(-3px);
}

/* Responsive */
@media (max-width: 780px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 50px 30px;
  }

  .hero-text h1 {
    font-size: 2.8rem;
  }

  .hero-btn {
    justify-content: center;
  }

    .footer-container{
    grid-template-columns:1fr 1fr;
  }
}

@media (max-width: 576px) {
  .navbar {
    padding: 18px 5%;
  }

  .hero {
    margin: 20px;
    padding: 40px 20px;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .hero-text p {
    font-size: 0.95rem;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

   .footer-container{
    grid-template-columns:1fr;
  }

}
