* {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;
}

.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 14px;
  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 */
  }
}

/* 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;
  }

}

/* LOGO CAROUSEL */
.logo-carousel{
  width:100%;
  padding: 50px 0;
  overflow:hidden;
  position:relative;
}

.logo-track{
  display:flex;
  gap:100px;
  align-items:center;
  width:max-content;
  animation:logo-scroll 30s linear infinite;
}

.logo-set{
  display:flex;
  align-items:center;
  gap:60px;
  padding-right:60px;
}

.logo-set img{
  height:60px;
  width:auto;
  filter:grayscale(100%);
  opacity:.7;
  transition:.3s ease;
}

.logo-set img:hover{
  filter:none;
  opacity:1;
}

/* ANIMASI SEAMLESS */
@keyframes logo-scroll{
  0%{
    transform:translateX(0);
  }
  100%{
    transform:translateX(-50%);
  }
}

/* RESPONSIVE */
@media(max-width:768px){
  .logo-set img{
    height:45px;
  }
}

.logo-carousel:hover .logo-track{
  animation-play-state:paused;
}

