/* ------------------------------
   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;
  }
}

/* ------------------------------
LEGALITAS SECTION
------------------------------ */
  body {
    font-family: 'Poppins', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #000000;
}

.modern-card {
    background: linear-gradient(to bottom, #FFFFFF 0%, #FDFDFD 100%);
    border: 1px solid #EAEAEA;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 1rem;
}

.modern-card:hover {
  border-color: #ff8c00;
  box-shadow: 0 10px 30px -5px rgb(255, 140, 0), 0 8px 15px -7px rgb(255, 140, 0);
  transform: translateY(-7px) scale(1.04);
}

.modern-card .icon-bg {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.12) 0%, rgba(255, 140, 0, 0.06) 100%);
    border: 1px solid rgba(255, 140, 0, 0.2);
    box-shadow: 0 3px 6px rgba(255, 140, 0, 0.388);
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.modern-card:hover .icon-bg {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.201) 0%, rgba(255, 140, 0, 0) 100%);
    border-color: #ff8c00;
    box-shadow: 0 5px 10px rgba(255, 140, 0, 0.25);
}

.modern-card .card-title {
    color: #000000;
    font-weight: 700;
}
.modern-card:hover .card-title {
    color: #ff8c00;
}

.modern-card .card-description {
    color: #000000;
    line-height: 1.6;
}
.modern-card .card-id {
    color: #ff8c00;
    font-weight: 600;
    letter-spacing: 0.025em;
}

.shine-effect::before {
    content: "";
    position: absolute;
    top: 0;
    left: -110%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        #ff8c0071,
        transparent
    );
    transition: left 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1; 
}

.modern-card:hover.shine-effect::before {
    left: 150%;
}
/* ------------------------------
SELAMAT DATANG SECTION
------------------------------ */
body {
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.gradient-text-brand {
  background-image: linear-gradient(to right, #ff8c00, #FFBB00, #fbbf24);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.custom-shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.custom-shadow-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.07), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.group:hover .custom-shadow-hover-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.06);
}


/* Slight animation for the background blobs */
.blob-animate-1 {
  animation: blobMove1 25s infinite alternate ease-in-out;
}

.blob-animate-2 {
  animation: blobMove2 30s infinite alternate ease-in-out;
}

@keyframes blobMove1 {
  0% {
    transform: scale(1) translate(-25%, -25%) rotate(0deg);
    opacity: 0.3;
  }

  50% {
    transform: scale(1.1) translate(-15%, -30%) rotate(15deg);
    opacity: 0.45;
  }

  100% {
    transform: scale(1) translate(-25%, -25%) rotate(0deg);
    opacity: 0.3;
  }
}

@keyframes blobMove2 {
  0% {
    transform: scale(1) translate(25%, 25%) rotate(0deg);
    opacity: 0.3;
  }

  50% {
    transform: scale(1.1) translate(15%, 30%) rotate(-15deg);
    opacity: 0.45;
  }

  100% {
    transform: scale(1) translate(25%, 25%) rotate(0deg);
    opacity: 0.3;
  }
}
/* ==========================================================================
   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;
}

/* ==========================================================================
   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;
}

  .nav-link.active-beranda {
    color: #ff8c00 !important;
  }