body {
  background-color: #00032d;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* ===== NAV ===== */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2.5rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 200;
  background: rgba(0, 3, 45, 0.6);
  backdrop-filter: blur(8px);
  transition: background 0.3s ease;
}

.logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  transition: 0.3s ease;
}

nav a {
  text-decoration: none;
  color: #ffffff;
  border: 1px solid #ffffff;
  padding: 0.4rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  transition: 0.3s ease;
}

nav a.active, nav a:hover {
  background-color: #ffffff;
  color: #00032d;
}

/* ===== HAMBURGER MENU ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  cursor: pointer;
  z-index: 210;
  transition: all 0.3s ease;
}

.hamburger div {
  width: 100%;
  height: 3px;
  background-color: #fff;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.hamburger.open div:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open div:nth-child(2) {
  opacity: 0;
}
.hamburger.open div:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== MOBILE MENU ===== */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    flex-direction: column;
    background: rgba(0, 3, 45, 0.97);
    backdrop-filter: blur(12px);
    width: 250px;
    height: 100vh;
    padding-top: 7rem;
    gap: 1.5rem;
    text-align: center;
    transition: right 0.4s ease;
    z-index: 200;
  }

  nav ul.active {
    right: 0;
  }

  nav ul li a {
    display: inline-block;
    font-size: 1rem;
    width: 70%;
    border: 1px solid #fff;
    border-radius: 999px;
    padding: 0.6rem 1rem;
  }

  .hero {
    padding-top: 130px;
  }
}

/* ========== CONTACT SECTION ========== */
.contact-section {
  display: flex;
  justify-content: space-between;
  align-items: center; /* sejajar tengah */
  padding: 6rem 8%;
  gap: 5rem;
  min-height: 80vh;
  box-sizing: border-box;
}

.contact-left {
  flex: 1;
}

.contact-left h1 {
  font-size: 3.5rem;
  margin-bottom: 2.5rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-btn {
  display: inline-block;
  border: 1.5px solid #ffffff;
  color: #ffffff;
  border-radius: 50px;
  padding: 1rem 2rem;
  text-decoration: none;
  font-size: 1.05rem;
  width: fit-content;
  transition: 0.3s;
}

.contact-btn:hover {
  background-color: #ffffff;
  color: #00032d;
}

/* ========== VIDEO KANAN ========== */
.contact-right {
  flex: 1.2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.contact-video {
  width: 100%;
  max-width: 550px;
  border-radius: 20px;
  object-fit: cover;
  aspect-ratio: 16/9;
  height: auto;
  margin-top: 0; /* biar sejajar tengah */
  margin-bottom: 0;
}

/* ========== FOOTER ========== */
footer {
  padding: 1.5rem 0;
  text-align: center;
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-wrapper {
  overflow: hidden;
  white-space: nowrap;
}

.footer-text {
  display: inline-block;
  animation: scroll-text 25s linear infinite;
}

@keyframes scroll-text {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .contact-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-left h1 {
    font-size: 2.8rem;
  }

  .contact-btn {
    font-size: 1rem;
    padding: 0.8rem 1.8rem;
  }

  .contact-video {
    max-width: 90%;
    margin-top: 2rem;
  }
}
