/* ------------------------------
   Base Navbar Styles
------------------------------ */
#navbar {
  transition: all 0.3s ease;
}

.nav-link {
  position: relative;
  display: inline-block;
  color: #000000;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding-bottom: 4px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #ff8c00;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.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;
}

#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;
}

.lg\:hidden {
  display: block;
}

/* ------------------------------
   Mobile Menu Styles
------------------------------ */
#mobile-menu {
  visibility: hidden;
  opacity: 0;
}

#mobile-menu.active {
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
}

/* ------------------------------
   Logo Carousel
------------------------------ */
.logo-carousel-container {
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
  background-color: #ffffff;
  border-radius: 10px;
}

.logo-carousel {
  display: flex;
  width: calc(180px * 15);
  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;
}

.logo-carousel-container:hover .logo-carousel {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-180px * 10 - 40px * 10));
  }
}

/* ------------------------------
   Epic Button Styles
------------------------------ */
.epic-button-primary {
  position: relative;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  overflow: hidden;
  background: linear-gradient(45deg, #FFBB00, #ff8c00, #ff8c00, #FFBB00);
  background-size: 300% 300%;
  animation: gradientFlow 8s ease infinite;
  color: #ffffff;
  transition: all 0.4s ease;
  z-index: 1;
}

.epic-button-primary:hover {
  transform: scale(1.05);
}

.epic-button-primary:hover .button-glow {
  opacity: 0.3;
}

.epic-button-secondary {
  position: relative;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  overflow: hidden;
  background: transparent;
  color: #ff8c00;
  transition: all 0.4s ease;
}

.epic-button-secondary:hover {
  background: linear-gradient(45deg, #FFBB00, #ff8c00, #ff4500, #FFBB00);
  background-size: 300% 300%;
  animation: gradientFlow 8s ease infinite;
  color: white;
  z-index: 1;
}

.epic-button-secondary:hover .button-highlight {
  opacity: 0.2;
}

.button-glow,
.button-highlight {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, #ff8c00, transparent 70%);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
  z-index: 0;
}

/* --------------------------------------------------
  CS BUTTON ANIMATION
-------------------------------------------------- */
#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);
  }
}

/* ------------------------------
   Responsive Adjustments
------------------------------ */
@media (max-width: 768px) {
  .hero-section {
    padding-top: 4rem;
  }

  .text-4xl {
    font-size: 2rem;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  #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) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .grid-cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  #cs-button {
    bottom: 30px;
    right: 30px;
  }

  #cs-popup {
    bottom: 90px;
    right: 20px;
    width: 320px;
  }

  #scroll-top-button {
    bottom: 30px;
    right: 90px;
  }
}

/* ==========================================================================
   FITURSCROL KEBAWAH
========================================================================== */
#scrollHint {
  opacity: 1;
  transition: opacity 0.5s ease, transform 0.5s ease;
  z-index: 9999;
  pointer-events: none;
}
#scrollHint.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(20px);
}

#scrollHint span {
  font-weight: 600;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ff8c00;
  text-shadow: 0.5px 0.5px 1px black;
  user-select: none;
}

#scrollHint .mouse {
  width: 18px;
  height: 30px;
  border: 2px solid #ff8c00;
  border-radius: 10px;
  box-shadow: 0.5px 0.5px 2px black;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 4px;
  overflow: visible;
}

#scrollHint .wheel {
  width: 3px;
  height: 6px;
  background: #ff8c00;
  border-radius: 1.5px;
  animation: scrollAnim 1.6s infinite;
  box-shadow: 0 0 6px #ff8c00;
}

@keyframes scrollAnim {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
    transform: translateY(4px);
  }
  60% {
    opacity: 0;
    transform: translateY(8px);
  }
  100% {
    opacity: 0;
    transform: translateY(0);
  }
}
@media (max-width: 1024px) {
  #scrollHint {
    display: none !important;
  }
}

/* ==========================================================================
   FITURSCROL KEBAWAH
========================================================================== */
@keyframes swipeDown {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(12px); opacity: 0.85; }
}
.animate-swipe-down {
  animation: swipeDown 1.8s ease-in-out infinite;
}
#mobile-scroll-hint {
  transition: transform 0.6s ease, opacity 0.6s ease;
}
#mobile-scroll-hint.hide-down {
  transform: translateY(100px);
  opacity: 0;
  pointer-events: none;
}
#mobile-scroll-hint.show-up {
  transform: translateY(0);
  opacity: 1;
}
.drop-shadow-xl {
filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}
.custom-icon {
image-rendering: auto;
opacity: 1 !important;
mix-blend-mode: normal;
}

/* ==========================================================================
   GLOW CARD
========================================================================== */
.glow-card {
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  transition: box-shadow 0.4s ease;
}

.glow-green:hover {
  box-shadow: 0 0 25px rgba(34,197,94, 0.6), 0 0 10px rgba(34,197,94, 0.4);
}

.glow-orange:hover {
  box-shadow: 0 0 25px rgba(255,140,0, 0.6), 0 0 10px rgba(255,140,0, 0.4);
}

.glow-blue:hover {
  box-shadow: 0 0 25px rgba(59,130,246, 0.6), 0 0 10px rgba(59,130,246, 0.4);
}

  .nav-link.active-hubungi {
    color: #ff8c00 !important;
  }