:root {
  --primary: rgb(28, 168, 168);
}

body {
  overflow-x: hidden;
}

/* =========================
   NAVBAR STYLE
========================== */
.navbar {
  transition: background 0.3s;
  background-color: white !important;
  height: 80px;
  transition: 0.3s;
}

.navbar.scrolled {
  background-color: white !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.navbar-brand img {
  height: 70px;
  width: auto;
}

.nav-link {
  color: white !important;
  margin-left: 20px;
  transition: 0.3s;
  color: var(--primary) !important;
  font-weight: 500;
}

.nav-link:hover {
  color: var(--primary) !important;
  color: black !important;
}

/* =========================
   HERO SECTION
========================== */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: -1;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.cta {
  background-color: var(--primary);
  color: #fff;
  border: none;
  padding: 10px 30px;
  font-weight: 500;
  border-radius: 30px;
  transition: 0.3s;
  text-decoration: none;
}

.cta:hover {
  background-color: rgb(22, 140, 140);
}

/* =========================
   RESPONSIVE
========================== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .nav-link {
    margin-left: 0;
    text-align: center;
  }
}

/* ==== NAVBAR MOBILE ==== */
@media (max-width: 991px) {
  .navbar-collapse {
    background-color: white;
    position: absolute;
    top: 80px; /* Sesuaikan dengan tinggi navbar */
    left: 0;
    width: 100%;
    z-index: 9999;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .navbar-nav .nav-link {
    color: var(--primary) !important;
    font-size: 18px;
    padding: 10px 0;
    display: block;
  }

  .navbar-toggler {
    border: none;
  }

  .navbar-toggler:focus {
    outline: none;
    box-shadow: none;
  }

  .navbar-brand img {
    height: 60px;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Animasi Muncul Halus dari Bawah ke Atas */
@keyframes fadeUpSmooth {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   FOOTER
========================== */
footer {
  background-color: #111;
  color: #ccc;
}

footer p {
  margin: 0;
}

.hero {
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

body {
  margin: 0 !important;
  padding: 0 !important;
}

footer {
  margin: 0 !important;
  padding: 20px 0;
}
