/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Hero Section */
.hero {
  background: url("../img/hero-img.jpg") no-repeat center center / cover;
  height: 100vh;
  position: relative;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: background-position 0.1s ease;
}

/* Hero Title */
.hero-content h1 {
  font-size: 3em;
  text-shadow: 2px 2px 4px #000;
}

/* Hamburger Menu */
.menu-toggle {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 30px;
  color: #e70404;
  cursor: pointer;
  z-index: 1001;
  transition: transform 0.3s ease;
}
.menu-toggle:hover {
  transform: scale(1.1);
}

/* Overlay */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 150px;
  height: 150px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 80%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.05s linear;
  z-index: 2;
}

/* Network Canvas */
#network-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  filter: drop-shadow(0 0 6px #73a196);
}

/* Header */
.header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  padding: 20px;
}

/* Navigation Menu */
.nav-menu {
  position: absolute;
  top: 70px;
  left: 20px;
  padding: 20px;
  border-radius: 16px;
  background: rgba(197, 226, 219, 0.5);
  backdrop-filter: blur(10px);
  transform: translateX(-120%);
  opacity: 0;
  z-index: 1000;
  transition: transform 0.4s ease-in-out, opacity 0.4s ease;
  animation: shadowPulse 3s infinite ease-in-out;
}

.nav-menu.show {
  transform: translateX(0);
  opacity: 1;
}

.nav-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.nav-menu li {
  margin: 20px 0;
}

.nav-menu a {
  display: inline-block;
  background: #ffffff;
  padding: 10px 20px;
  border-radius: 30px;
  color: #f31c1c;
  font-weight: bold;
  font-size: 1.2em;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.nav-menu a:hover {
  background: #4a7d72;
  color: #fff;
  transform: translateX(5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.nav-menu a:active {
  transform: scale(0.97);
}

/* Animasi bayangan dinamis */
@keyframes shadowPulse {
  0% {
    box-shadow: 0 0 10px rgba(115, 161, 150, 0.3);
  }
  50% {
    box-shadow: 0 0 25px rgba(115, 161, 150, 0.6);
  }
  100% {
    box-shadow: 0 0 10px rgba(115, 161, 150, 0.3);
  }
}


  body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #fff;
    /* overflow: hidden; */
    height: 100%;
  }

  .preloader-container {
    position: fixed;
    top: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    background: #000;
    z-index: 1000;
  }
  .preloader-container.active_new {
  -webkit-transform: translateY(-100vh);
          transform: translateY(-100vh);
  -webkit-transition: ease-in-out 2s;
  transition: ease-in-out 2s;
  -webkit-transition-delay: 1s;
          transition-delay: 1s;
}
  .preloader-text {

    font-size: 90px;
    /* opacity: 0; */
    /* animation: fadeInLetter 1s forwards,  scaleIn 1s forwards; */
    top: 50%;
    height: 500px;
    position: absolute;
    width: 100%;
    /* left: 50%; */
    margin: auto;
    text-align: center;
  }

  /* Animation for individual letters */
  .preloader-text span {
    opacity: 0;
    animation: topToBottom 10s forwards;
    transform-origin: center; /* Set the transform origin to the center of each letter */
  }

  @keyframes fadeIn {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }

  @keyframes fadeInLetter {
    0% {
      opacity: 0;
      transform: scale(0.8); /* Start with a slightly smaller scale */
    }
    100% {
      opacity: 1;
      transform: scale(1); /* End with the original scale */
    }
  }

  @keyframes topToBottom {
    0% {
    transform: translateY(-100%); /* Start position above the viewport */
  }
  100% {
    transform: translateY(0); /* End position at the center of the viewport */
  }
  }

  /* Add scale-in animation */
  @keyframes scaleIn {
    0% {
      transform: scale(0.8); /* Start with a slightly smaller scale */
    }
    100% {
      transform: scale(1); /* End with the original scale */
    }
  }

  /* Add fade-out animation */
@keyframes fancyFadeOut {
  0% {
    opacity: 1;
    transform: scale(1) rotate(0deg) translateY(0);
    filter: blur(0);
  }
  50% {
    opacity: 0.7;
    transform: scale(0.98) rotate(2deg) translateY(-10px);
    filter: blur(2px);
  }
  100% {
    opacity: 0;
    transform: scale(0.85) rotate(-3deg) translateY(-30px);
    filter: blur(6px);
  }
}

  /* Add expandWidth animation */
  @keyframes expandWidth {
    0% {
      width: auto; /* Start with auto width */
    }
    100% {
      width: 100%; /* End with full width */
      
      letter-spacing: 20px;
    }
  }
 .wrap { 
  background:#fff;
  background-position: left top; 
  background-repeat: no-repeat; 
  -webkit-background-size: cover; 
  -moz-background-size: cover; 
  -o-background-size: cover; 
  background-size: cover; 
  width: 100%; 
  height: 100%; 
  position: relative;  
  z-index : 1; 
   text-align:center;
}
h1{
  font-size:4em;
  color:#000;
}

/* Company Support Section */
.company-support {
  background-color: #c4c3c3;
  padding: 60px 20px;
  text-align: center;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}


.company-support h2 {
  color: #333;
  margin-bottom: 40px;
  font-size: 2em;
}
.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 80px; /* Lebih lebar dari sebelumnya */
  padding: 40px 20px;
}

.logo-container img {
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease, transform 0.3s ease;
  /* Hapus padding di sini */
  margin: 20px; /* Gunakan margin untuk spasi sekeliling logo */
}

.logo-container img:hover {
  filter: grayscale(0%);
  transform: scale(1.1) rotate(360deg);
  transition: transform 1s ease-in-out, filter 0.3s ease;
}

/* Footer Section */
footer {
  background-color: #1a1a1a;
  color: #fff;
  padding: 60px 20px 20px;
}

.footer-contact,
.footer-map {
  margin-bottom: 30px;
}

.footer-contact h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.footer-contact p {
  margin: 5px 0;
}

.footer-map iframe {
  width: 90%;
  height: 130px;
  border: 0;
  border-radius: 10px;
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #444;
  font-size: 0.9em;
  color: #000000;
}

/* Responsive */
@media (min-width: 768px) {
  footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 60px 80px 20px;
  }

  .footer-contact,
  .footer-map {
    flex: 1;
    margin: 0 20px;
  }
}

/* menu timbul */
.content-section {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.content-section.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* tombol menu di hero*/
.hero-links {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  z-index: 2;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-btn {
  padding: 12px 24px;
  background-color: #73a196;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.hero-btn:hover {
  background-color: #5c8374;
  transform: scale(1.05);
}


