
/* ==========================================================================
   NAVBAR STYLES
========================================================================== */
#navbar {
  transition: all 0.3s ease;
}

.nav-link {
  position: relative;
  display: inline-block;
  color: #ffffff;
  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;
  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; }

/* ==========================================================================
   LOGO CAROUSEL STYLES
========================================================================== */
.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);
}

.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)); }
}

/* ==========================================================================
   MOBILE MENU STYLES
========================================================================== */
#mobile-menu {
  visibility: hidden;
  opacity: 0;
}

#mobile-menu.active {
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   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: #fff;
  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 {
  background: transparent;
  color: linear-gradient(45deg, #FFBB00, #ff8c00, #ff8c00, #FFBB00);
  position: relative;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  overflow: hidden;
  transition: all 0.4s ease;
}

.epic-button-secondary:hover {
  background: linear-gradient(45deg, #FFBB00, rgb(255, 140, 0), #ff4500, #FFBB00);
  background-size: 300% 300%;
  animation: gradientFlow 8s ease infinite;
  color: white;
  z-index: 1;
}

.button-glow,
.button-highlight {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, #ff8c00, transparent 70%);
  opacity: 0;
  transition: all 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   ANIMATIONS - Tambahan
========================================================================== */
@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 scrollx {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-200px * 10)); }
}

@keyframes slide-down {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

.animate-scroll-x { animation: scroll-x 30s linear infinite; }
.animate-slide-down { animation: slide-down 20s linear infinite; }

.animate-shine {
  background: linear-gradient(90deg, #FFBB00 0%, #FFF 50%, #FFBB00 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  animation: shine 3s linear infinite;
  -webkit-animation: shine 3s linear infinite;
}

@keyframes shine {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}

.animate-glow {
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  0% { text-shadow: 0 0 10px rgba(255, 187, 0, 0.2); }
  100% { text-shadow: 0 0 20px rgba(255, 187, 0, 0.8), 0 0 30px rgba(255, 187, 0, 0.6); }
}

/* ==========================================================================
   FLOATING BADGE STYLES
========================================================================== */
.floating-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: linear-gradient(45deg, #FFBB00, #FFA500);
  color: black;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  transform: rotate(12deg);
  animation: floatBadge 3s ease-in-out infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.group:hover .floating-badge {
  opacity: 1;
}

@keyframes floatBadge {
  0%, 100% { transform: rotate(12deg) translateY(0); }
  50% { transform: rotate(12deg) translateY(-5px); }
}

/* ==========================================================================
   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;
}

/* ==========================================================================
   RESPONSIVE DESIGN
========================================================================== */
@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; }
}

@media (max-width: 480px) {
  h2 { font-size: 1.75rem; }
  .floating-badge { font-size: 0.75rem; padding: 3px 8px; }
}

.background-logo-animation {
  position: relative;
  width: 100%;
  height: 400px;
  background: white;
  overflow: hidden;
}

#logo-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.background-blur {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.738);
  opacity: 0.85;
  backdrop-filter: blur(1px);
  z-index: 1;
}

/* ==========================================================================
  RIVIEW PELANGGAN
========================================================================== */
.testimonial-container {
  width: 100%;
  overflow: hidden;
}

.testimonial-row {
  display: flex;
  padding: 20px 0;
  animation-duration: 50s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  width: max-content;
}

.testimonial-row[data-direction="left"] {
  animation-name: scroll-left;
}

.testimonial-row[data-direction="right"] {
  animation-name: scroll-right;
}

.testimonial-row[data-speed="30"] {
  animation-duration: 30s;
}

.testimonial-row[data-speed="35"] {
  animation-duration: 35s;
}

.testimonial-row[data-speed="40"] {
  animation-duration: 40s;
}

.testimonial-card {
  flex: 0 0 auto;
  width: 300px;
  margin: 0 15px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #ff8c00;
  border-radius: 30px;
  color: rgb(0, 0, 0);
  box-shadow: 0 8px 32px rgba(255, 140, 0, 0);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  -ms-border-radius: 30px;
  -o-border-radius: 30px;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent 65%, #ff8c008f 100%);
  opacity: 0.1;
  z-index: 0;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(255, 140, 0, 0.481);
  border-color: #ff8c0090;
}

.testimonial-card:hover::before {
  opacity: 0.2;
}

.quote-icon {
  font-size: 40px;
  color: #ff8c00;
  line-height: 1;
  margin-bottom: 10px;
  font-family: serif;
  position: relative;
  z-index: 1;
}

.testimonial-card p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  font-weight: 600;
  color: #ff8c00;
  font-size: 14px;
  text-align: right;
  position: relative;
  z-index: 1;
}

.rating {
  color: #ff8c00;
  font-size: 16px;
  text-align: right;
  letter-spacing: 2px;
  margin-top: 5px;
  position: relative;
  z-index: 1;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes scroll-right {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* Pause animation on hover */
.testimonial-container:hover .testimonial-row {
  animation-play-state: paused;
} 

.testimonial-container {
  width: 100%;
  overflow: hidden;
}

.testimonial-row {
  display: flex;
  padding: 20px 0;
  animation-duration: 50s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  width: max-content;
}

.testimonial-row[data-direction="left"] {
  animation-name: scroll-left;
}

.testimonial-row[data-direction="right"] {
  animation-name: scroll-right;
}

.testimonial-row[data-speed="30"] {
  animation-duration: 30s;
}

.testimonial-row[data-speed="35"] {
  animation-duration: 35s;
}

.testimonial-row[data-speed="40"] {
  animation-duration: 40s;
}

.testimonial-card {
  flex: 0 0 auto;
  width: 300px;
  margin: 0 15px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #ff8c00;
  border-radius: 30px;
  color: rgb(0, 0, 0);
  box-shadow: 0 8px 32px rgba(255, 140, 0, 0);
  transition: transform 0.6s ease, box-shadow 0.6s ease, border-color 0.6s ease;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent 65%, #ff8c008f 100%);
  opacity: 0.1;
  z-index: 0;
}

.quote-icon {
  font-size: 40px;
  color: #ff8c00;
  margin-bottom: 10px;
  font-family: serif;
  position: relative;
  z-index: 1;
}

.testimonial-card p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  font-weight: 600;
  color: #ff8c00;
  font-size: 14px;
  text-align: right;
  position: relative;
  z-index: 1;
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scroll-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.testimonial-container:hover .testimonial-row {
  animation-play-state: paused;
}
/* ==========================================================================
   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;
}

/* ==========================================================================
   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;
  }
}

/* ==========================================================================
   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;
  }