* {margin:0; padding:0; box-sizing:border-box; font-family: 'Segoe UI', sans-serif;}
body {background:#f8fafc; color:#1e293b}

/* NAVBAR */
.navbar{
  position:fixed; top:0; width:100%;
  background:rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
  box-shadow:0 2px 10px rgba(0,0,0,.05);
  z-index:1000;
}
.container{width:90%; margin:auto}
.nav-wrap{display:flex; justify-content:space-between; align-items:center; padding:15px 0}
nav a{margin-left:20px; text-decoration:none; color:#334155; font-weight:500}

/* BUTTON LOGIN */
.btn-login{
  padding:8px 18px;
  background:#2563eb;
  color:white;
  border-radius:25px;
  text-decoration:none;
  font-size:14px;
  font-weight:500;
  transition:all .3s ease;
}

.btn-login:hover{
  background:#1e40af;
  transform:translateY(-2px);
  box-shadow:0 5px 15px rgba(0,0,0,0.1);
}

/* BRAND LOGO */
.brand{
  display:flex;
  align-items:center;
  gap:10px;
}

.brand img{
  height:40px;          /* ukuran ideal desktop */
  width:auto;
  object-fit:contain;
}

.brand span{
  font-size:18px;
  font-weight:600;
  color:#0f172a;
}

a.brand {
  text-decoration: none;
}

/* RESPONSIVE */
@media(max-width:768px){
  .brand img{
    height:32px;        /* lebih kecil di mobile */
  }
  .brand span{
    font-size:16px;
  }
}

.hero{
  position:relative;
  height:100vh;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:white;
  margin-top:70px;
}

/* VIDEO */
.hero-video{
  position:absolute;
  top:50%;
  left:50%;
  width:100%;
  height:100%;
  object-fit:cover;
  transform:translate(-50%, -50%);
  z-index:1;
}

/* OVERLAY GELAP */
.hero-overlay{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(15, 23, 42, 0.65);
  z-index:2;
}

/* CONTENT DI ATAS VIDEO */
.hero-content{
  position:relative;
  z-index:3;
  max-width:800px;
  padding:0 20px;
}

.hero-content h2{
  font-size:42px;
  margin-bottom:15px;
}

.hero-content button{
  padding:12px 30px;
  margin-top: 20px;
  border:none;
  background:#22c55e;
  color:white;
  font-size:16px;
  border-radius:30px;
  cursor:pointer;
}

/* SECTION */
.section{padding:80px 10%}
.section.light{background:white}
.section-title{text-align:center; font-size:30px; margin-bottom:40px}

/* BERITA */
.carousel{overflow:hidden}
.carousel-track{
  display:flex; gap:20px;
  animation:slide 18s infinite linear;
}
/*.news-card{*/
/*  min-width:300px;*/
/*  background:white;*/
/*  border-radius:15px;*/
/*  overflow:hidden;*/
/*  box-shadow:0 5px 20px rgba(0,0,0,.1);*/
/*}*/
/*.news-card img{width:100%; height:200px; object-fit:cover}*/
.news-card h3{padding:15px}
.news-card p{padding:0 15px 20px}

.news-wrapper{
  position:relative;
  display:flex;
  align-items:center;
}

.news-carousel{
  display:flex;
  gap:20px;
  overflow-x:auto;
  scroll-behavior:smooth;
  scrollbar-width:none;
  padding: 0 50px;
}

.news-carousel::-webkit-scrollbar{
  display:none;
}

.news-card{
  min-width:300px;
  background:white;
  border-radius:15px;
  overflow:hidden;
  box-shadow:0 5px 20px rgba(0,0,0,.1);
  flex-shrink:0;
}

.news-card img{
  width:100%;
  height:200px;
  object-fit:cover;
}

/* ARROW */
.arrow{
  position:absolute;
  background:white;
  border:none;
  font-size:24px;
  cursor:pointer;
  padding:10px 20px;
  border-radius:50%;
  box-shadow:0 5px 15px rgba(0,0,0,0.15);
  z-index:10;
  transition:.3s;
}

.arrow:hover{
  background:#2563eb;
  color:white;
}

.arrow.left{
  left:-15px;
}

.arrow.right{
  right:-15px;
}

@media(max-width:768px){
  .arrow{
    display:none; /* di mobile cukup swipe */
  }
  .news-carousel{
    padding: 0;
  }
}

/* GALERI */
.gallery-slider{position:relative; max-width:900px; margin:auto}
.gallery-slider img{
  width:100%; display:none;
  border-radius:20px;
}
.gallery-slider img.active{display:block}

/* KONTAK */
.contact-form{
  max-width:500px; margin:auto;
  display:flex; flex-direction:column; gap:15px;
}
.contact-form input,
.contact-form textarea{
  padding:12px; border-radius:8px; border:1px solid #cbd5e1;
}
.contact-form button{
  background:#2563eb; color:white;
  padding:12px; border:none; border-radius:30px;
}

/* FOOTER */
footer{
  background:#0f172a; color:white;
  text-align:center; padding:20px;
}

/* ANIMASI */
@keyframes slide{
  0%{transform:translateX(0)}
  100%{transform:translateX(-50%)}
}

/* RESPONSIVE */
@media(max-width:768px){
  nav{display:none}
  .hero-content h2{font-size:28px}
}

@media(max-width:768px){

  .btn-login{
    padding:6px 14px;
    font-size:13px;
  }
}

/* HAMBURGER */
.hamburger{
  display:none;
  flex-direction:column;
  cursor:pointer;
  gap:5px;
}

.hamburger span{
  width:25px;
  height:3px;
  background:#0f172a;
  border-radius:2px;
}

/* MOBILE MODE */
@media(max-width:768px){

  .hamburger{
    display:flex;
  }

  .nav-menu{
    position:absolute;
    top:70px;
    left:0;
    width:100%;
    background:white;
    flex-direction:column;
    gap:15px;
    padding:20px;
    display:none;
    box-shadow:0 10px 20px rgba(0,0,0,0.1);
  }

  .nav-menu.active{
    display:flex;
  }

}

/* ACCREDITATION */
.accreditation{
  background:linear-gradient(180deg, #9affb6, #00693A);
}

.accreditation-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:30px;
  margin-top:40px;
}

.accreditation-card{
  background:white;
  padding:35px;
  border-radius:22px;
  box-shadow:0 10px 30px rgba(0,0,0,0.08);
  transition:.3s ease;
}

.accreditation-card:hover{
  transform:translateY(-6px);
  box-shadow:0 15px 40px rgba(0,0,0,0.12);
}

.acc-icon{
  font-size:42px;
  margin-bottom:15px;
}

.accreditation-card h3{
  font-size:22px;
  margin-bottom:10px;
  color:#0f172a;
}

.accreditation-card p{
  font-size:14px;
  color:#475569;
  line-height:1.7;
}

.acc-list{
  margin:20px 0;
  padding:0;
  list-style:none;
}

.acc-list li{
  font-size:14px;
  color:#1e293b;
  margin-bottom:8px;
}

/* BUTTON */
.acc-btn{
  display:inline-block;
  padding:12px 28px;
  border-radius:30px;
  text-decoration:none;
  font-size:14px;
  font-weight:600;
  transition:.3s ease;
}

/* WARNA NASIONAL */
.acc-btn.primary{
  background:#22c55e;
  color:#052e16;
}

.acc-btn.primary:hover{
  background:#16a34a;
  color:white;
}

/* WARNA INTERNASIONAL */
.acc-btn.secondary{
  background:#6366f1;
  color:white;
}

.acc-btn.secondary:hover{
  background:#4f46e5;
}

/* RESPONSIVE */
@media(max-width:900px){
  .accreditation-grid{
    grid-template-columns:1fr;
  }
}