#navbar {
    transition: all 0.3s ease;
  }
  
    .nav-link {
      position: relative;
      display: inline-block;
      color: #000000;
      font-size: 0.875rem;
      font-weight: 500;
      transition: color 0.3s ease, transform 0.3s ease;
      padding-bottom: 4px;
      letter-spacing: 0.5px;
    }
  
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: #ff8c00;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    left: 0;
  }
  
  .nav-link:hover {
    color: #ff8c00;
  }
  
  #navbar.scrolled {
    background-image: linear-gradient(to right, #ff8c00,#000000 );
    box-shadow: 0 4px 10px #00000074;
  }
  
  #navbar.scrolled .nav-link {
    color: #ffffff;
  }
  
  #navbar.scrolled .nav-link:hover {
    color: #ff8c00;
  }
  
  .nav-link:hover::after {
    transform: scaleX(1);
  }
  
  .nav-link.hover-left::after {
    transform-origin: left;
  }
  
  .nav-link.hover-right::after {
    transform-origin: right;
  }
  
  .lg\:hidden {
    display: block;
  }
  
  /* CSS untuk carousel logo */
  .logo-carousel-container {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    background-color: #ffffff;
    border-radius: 10px;
  }
  
  .logo-carousel {
    display: flex;
    animation: scroll 30s linear infinite;
    width: calc(180px * 15);
    -webkit-animation: scroll 30s linear infinite;
  }
  
  .logo-item {
    flex: 0 0 180px;
    height: 100px;
    margin: 0 20px;
    background-color: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }
  
  .logo-item:hover {
    background-color: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 0 15px #ffffff;
  }
  
  @keyframes scroll {
    0% {
      transform: translateX(0);
      -webkit-transform: translateX(0);
      -moz-transform: translateX(0);
      -ms-transform: translateX(0);
      -o-transform: translateX(0);
  }
    100% {
      transform: translateX(calc(-180px * 10 - 40px * 10)); /* Lebar logo + margin */
    }
  }
  
  .logo-carousel-container:hover .logo-carousel {
    animation-play-state: paused;
  }

  #mobile-menu {
    visibility: hidden;
    opacity: 0;
  }
  
  #mobile-menu.active {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
  }
  
  @media (max-width: 768px) {
    .hero-section {
      padding-top: 4rem;
    }
    
    .text-4xl {
      font-size: 2rem;
    }
    
    .container {
      padding-left: 1rem;
      padding-right: 1rem;
    }
    
    #cs-button {
      right: 1rem;
    }
    
    #cs-popup {
      right: 1rem;
      width: calc(100% - 2rem);
      max-width: 320px;
    }
  }
  
  @media (min-width: 769px) and (max-width: 1024px) {
    .container {
      padding-left: 2rem;
      padding-right: 2rem;
    }
    
    .grid-cols-4 {
      grid-template-columns: repeat(2, 1fr);
    }
  }

@media (max-width: 768px) {
    #cs-button {
      bottom: 20px;
      right: 20px;
    }
    
    #cs-popup {
      bottom: 80px;
      right: 10px;
      width: calc(100% - 20px);
      max-width: 300px;
    }
  
    #scroll-top-button {
      bottom: 20px;
      right: 80px;
      transform: scale(0.9);
    }
  }
  
  @media (min-width: 769px) and (max-width: 1024px) {
    #cs-button {
      bottom: 30px;
      right: 30px;
    }
    
    #cs-popup {
      bottom: 90px;
      right: 20px;
      width: 320px;
    }
  
    #scroll-top-button {
      bottom: 30px;
      right: 90px;
    }
  }
  
  #cs-button button {
    transform-origin: center;
    animation: pulse 2s infinite;
  }
  
  @keyframes pulse {
    0% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(255, 140, 0, 0.7);
    }
    70% {
      transform: scale(1.05);
      box-shadow: 0 0 0 10px rgba(255, 140, 0, 0);
    }
    100% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(255, 140, 0, 0);
    }
  }
  
/* --------------------------------------------------
  SCROLL TO TOP BUTTON
-------------------------------------------------- */
#scroll-top-button {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 49;
}

#scroll-top-button.visible {
  visibility: visible;
  opacity: 1;
}
/* ------------------------------
   Animations
------------------------------ */
@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes shimmer {
  0% { background-position: -100% 50%; }
  100% { background-position: 200% 50%; }
}

@keyframes patternMove {
  0% { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 140, 0, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(255, 140, 0, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 140, 0, 0);
  }
}

@keyframes scrollPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 140, 0, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(255, 140, 0, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 140, 0, 0);
  }
}

/* ANIMASI BACKGROUND */
@keyframes driftDown {
  0% {
    transform: translateY(-100px) translateX(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.3;
  }
  100% {
    transform: translateY(120vh) translateX(40px) rotate(15deg);
    opacity: 0;
  }
}

.floating-logo {
  position: absolute;
  top: -100px;
  pointer-events: none;
  opacity: 0;
  animation-name: driftDown;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  mix-blend-mode: screen;
  filter: blur(1.2px) brightness(1.1);
  z-index: 0;
}

/* ==========================================================================
   SCROL KANAN FITUR
========================================================================== */

html {
  scrollbar-width: thin;
  scrollbar-color: #ff8c00 #1A1A1A;
}

::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

::-webkit-scrollbar-track {
  background: #1A1A1A;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background-color: #ff8c00;
  border-radius: 10px;
  border: 1px solid #1A1A1A;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #FFA500;
}

::-webkit-scrollbar-thumb:active {
  background-color: #E07B00;
}

::-webkit-scrollbar-button {
  display: none;
}

/* ==========================================================================
   section
========================================================================== */
body {
  font-family: 'Poppins', sans-serif;
}

#particles-js {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
z-index: 0;
background-color: white;
}

.breathing-orb {
  position: absolute;
  width: 800px;
  height: 800px;
  right: -200px;
  top: -100px;
  background: radial-gradient(circle, rgba(255, 140, 0, 0.2), rgba(255, 140, 0, 0));
  border-radius: 50%;
  filter: blur(40px);
  animation: breathe 15s infinite alternate ease-in-out;
  z-index: 0;
}

@keyframes breathe {
  from {
      transform: scale(0.8) translate(50px, -50px);
      opacity: 0.7;
  }
  to {
      transform: scale(1.1) translate(-50px, 50px);
      opacity: 1;
  }
}
