*{
  box-sizing:border-box;
  font-family: 'Segoe UI', sans-serif;
}

body{
  margin:0;
  background:#f4f6f8;
  color:#333;
}

.hero{
  background:linear-gradient(135deg,#2563eb,#16a34a);
  color:#fff;
  padding:70px 20px;
  text-align:center;
}

.hero h1{
  font-size:36px;
  margin-bottom:10px;
}

.hero p{
  font-size:16px;
  margin-bottom:25px;
}

.btn{
  background:#fff;
  color:#2563eb;
  padding:12px 25px;
  border-radius:30px;
  text-decoration:none;
  font-weight:bold;
}

.section{
  padding:50px 20px;
  max-width:1100px;
  margin:auto;
}

.section h2{
  text-align:center;
  margin-bottom:30px;
}

.gray{
  background:#eef2f7;
}

.dark{
  background:#111827;
  color:#fff;
}

.center{
  text-align:center;
  max-width:800px;
  margin:auto;
}

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:15px;
}

.grid-3{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:20px;
}

.grid-4{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:15px;
}

.card,.box,.step{
  background:#ff8d00;
  padding:20px;
  border-radius:14px;
  text-align:center;
  box-shadow:0 5px 15px rgba(0,0,0,.1);
}

.card span{
  font-size:13px;
  color:#555;
}

.list{
  list-style:none;
  max-width:500px;
  margin:auto;
  padding:0;
}

.list li{
  padding:10px 0;
  font-size:16px;
}

.contact{
  text-align:center;
  font-size:18px;
}

footer{
  background:#000;
  color:#aaa;
  text-align:center;
  padding:20px;
  font-size:14px;
}
/* ===== ANIMASI SCROLL ===== */
.animate {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.animate.show {
  opacity: 1;
  transform: translateY(0);
}

/* Delay bertahap untuk card */
.card.animate:nth-child(1){transition-delay:.1s}
.card.animate:nth-child(2){transition-delay:.15s}
.card.animate:nth-child(3){transition-delay:.2s}
.card.animate:nth-child(4){transition-delay:.25s}
.card.animate:nth-child(5){transition-delay:.3s}
.card.animate:nth-child(6){transition-delay:.35s}

/* ===== TAMPILAN MOBILE / HP ===== */
@media (max-width: 768px){

  .hero{
    padding:50px 15px;
  }

  .hero h1{
    font-size:26px;
  }

  .hero p{
    font-size:14px;
  }

  .btn{
    padding:10px 20px;
    font-size:14px;
  }

  .section{
    padding:35px 15px;
  }

  .grid,
  .grid-3,
  .grid-4{
    gap:12px;
  }

  .card,
  .box,
  .step{
    padding:16px;
    border-radius:12px;
    font-size:14px;
  }

  .contact{
    font-size:16px;
  }
}

/* Extra kecil (HP lama) */
@media (max-width:480px){
  .hero h1{
    font-size:22px;
  }

  .section h2{
    font-size:20px;
  }
}
/* ===== PORTFOLIO ===== */
.portfolio-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:15px;
  margin-top:30px;
}

.portfolio-img{
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:14px;
  cursor:pointer;
  transition:transform .3s, box-shadow .3s;
}

.portfolio-img:hover{
  transform:scale(1.05);
  box-shadow:0 10px 25px rgba(0,0,0,.2);
}

/* ===== LIGHTBOX ===== */
.lightbox{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.85);
  z-index:2000;
  justify-content:center;
  align-items:center;
}

.lightbox-img{
  max-width:90%;
  max-height:90%;
  border-radius:12px;
  animation:zoom .3s ease;
}

@keyframes zoom{
  from{transform:scale(.8);opacity:0}
  to{transform:scale(1);opacity:1}
}

.close{
  position:absolute;
  top:20px;
  right:30px;
  font-size:35px;
  color:#fff;
  cursor:pointer;
}

/* ===== FORM WHATSAPP ===== */
.wa-form{
  max-width:500px;
  margin:30px auto 0;
  display:flex;
  flex-direction:column;
  gap:15px;
}

.wa-form input,
.wa-form select,
.wa-form textarea{
  padding:14px;
  border-radius:10px;
  border:1px solid #ddd;
  font-size:15px;
  outline:none;
}

.wa-form input:focus,
.wa-form select:focus,
.wa-form textarea:focus{
  border-color:#22c55e;
}

.btn-wa{
  background:#22c55e;
  color:#fff;
  border:none;
  padding:14px;
  border-radius:30px;
  font-size:16px;
  cursor:pointer;
  font-weight:bold;
  transition:.3s;
}

.btn-wa:hover{
  background:#16a34a;
}

/* ===== PORTFOLIO SCROLL SAMPING ===== */
.portfolio-scroll{
  display:flex;
  gap:15px;
  overflow-x:auto;
  padding:20px 5px;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
}

.portfolio-scroll::-webkit-scrollbar{
  height:6px;
}

.portfolio-scroll::-webkit-scrollbar-thumb{
  background:#ccc;
  border-radius:10px;
}

.portfolio-img{
  flex:0 0 auto;
  width:260px;
  height:180px;
  object-fit:cover;
  border-radius:14px;
  cursor:pointer;
  scroll-snap-align:start;
  transition:transform .3s, box-shadow .3s;
}

.portfolio-img:hover{
  transform:scale(1.05);
  box-shadow:0 10px 25px rgba(0,0,0,.25);
}

/* Mobile lebih enak */
@media(max-width:768px){
  .portfolio-img{
    width:220px;
    height:150px;
  }
}


.logo-wrap{
  display:flex;
  align-items:center;
  gap:10px;
}

.logo-wrap img{
  height:40px;
}

.logo-wrap span{
  color:#fff;
  font-weight:bold;
  font-size:16px;
}

