:root {
    --green-primary: #1f7a4c;
    --green-dark: #145237;
    --green-soft: #e9f7ef;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

.navbar {
    background: rgba(228, 255, 243, 0.98);
    transition: background-color 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
}

.navbar.navbar-scrolled {
    background: rgba(228, 255, 243, 0.98);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    padding-top: 0.15rem;
    padding-bottom: 0.15rem;
}

.navbar-brand img {
    width: 150px;
    max-width: 300px;
}

.hero {
    background: linear-gradient(rgba(20, 82, 55, 0.78), rgba(20, 82, 55, 0.78)),
        url("../../assets/images/Hero1.png") center/cover no-repeat;
    min-height: 100vh;
    color: #fff;
}

.section-title {
    color: var(--green-dark);
    font-weight: 700;
}

.card-soft {
    border: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-soft:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.bg-soft {
    background-color: var(--green-soft);
}

.btn-green {
    background-color: var(--green-primary);
    border-color: var(--green-primary);
    color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn-green:hover {
    background-color: var(--green-dark);
    border-color: var(--green-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(20, 82, 55, 0.35);
}

.wa-floating {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wa-floating:hover {
    transform: scale(1.06);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.32);
}

/* Hero: animasi saat halaman dimuat (jelas terlihat) */
.hero-motion .hero-entrance {
    opacity: 0;
    transform: translateY(44px);
    animation: heroFadeUp 0.95s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-motion .hero-entrance:nth-child(1) {
    animation-delay: 0.06s;
}

.hero-motion .hero-entrance:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-motion .hero-entrance:nth-child(3) {
    animation-delay: 0.36s;
}

@keyframes heroFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(52px) scale(0.985);
    filter: blur(2px);
    transition:
        opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.65s ease-out;
    will-change: opacity, transform, filter;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
    .hero-motion .hero-entrance {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .reveal,
    .reveal.is-visible {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
    }
}

footer {
    background: #0f3f2b;
}



.clients-modern {
  background: #ffffff;
}

/* COUNTER */
.counter {
  font-size: 2rem;
  font-weight: bold;
  color: #145237;
}

/* ANIMATION */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .slide-track img {
    height: 40px;
    margin: 0 20px;
  }

  .counter {
    font-size: 1.5rem;
  }
}


.client-slider-single {
  position: relative;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* semua slide ditumpuk */
.client-slide {
  position: absolute;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.6s ease;
}

/* yang aktif */
.client-slide.active {
  opacity: 1;
  transform: scale(1);
}

/* logo */
.client-slide img {
  height: 400px;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: 0.3s;
}

.client-slide.active img {
  filter: grayscale(0%);
  opacity: 1;
}

/* mobile */
@media (max-width: 768px) {
  .client-slide img {
    height: 200px;
  }
}