:root {
  --primary: #2f6fed;
  --dark: #12203c;
}
body { font-family: 'Poppins', sans-serif; color: #333; }
.text-primary { color: var(--primary) !important; }
.btn-primary { background-color: var(--primary); border-color: var(--primary); }

.top-bar { background: var(--dark); color: #fff; font-size: 0.85rem; padding: 6px 0; }
.top-bar a { color: #fff; text-decoration: none; margin-right: 12px; }

.hero {
  position: relative;
  padding: 120px 0 80px;
  display: flex;
  align-items: center;
  background: #12203c;
  overflow: hidden;
}
.hero .carousel,
.hero .carousel-inner,
.hero .carousel-item {
  height: 100%;
}
.hero .carousel-item {
  display: none;
  align-items: center;
}
.hero .carousel-item.active {
  display: flex;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/img/hero-bg.jpeg') center center / cover no-repeat;
  z-index: 0;
}
.hero::after {
  background: linear-gradient(120deg, rgba(10,20,40,0.82) 0%, rgba(10,20,40,0.55) 60%, rgba(10,20,40,0.35) 100%);
}
.hero-content h1 {
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.hero-content h1 .text-primary {
  color: #6fa8ff !important;
}
.hero-content p {
  color: rgba(255,255,255,0.92) !important;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}
.hero .btn-outline-dark {
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.hero .btn-outline-dark:hover {
  background: #fff;
  color: var(--dark);
}
.hero .carousel {
  position: relative;
  z-index: 2;
}
.hero-content h1 { font-weight: 700; font-size: 2.6rem; margin-bottom: 1rem; }
.hero-content p { font-size: 1.1rem; color: #555; margin-bottom: 1.5rem; }

.counter-section { background: var(--dark); }
.counter { font-size: 2.5rem; font-weight: 700; color: var(--primary); }

.service-card { background: #fff; border: 1px solid #eee; transition: 0.3s; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 10px 25px rgba(0,0,0,.08); }
.icon-box { width: 55px; height: 55px; border-radius: 50%; background: rgba(47,111,237,.1); display:flex; align-items:center; justify-content:center; }
.icon-box i { color: var(--primary); font-size: 1.4rem; }

.capability-item { border-left: 3px solid var(--primary); background: #fff; border-radius: 8px; }

.client-logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: 0.3s;
}
.client-logo-box:hover {
  filter: grayscale(0%);
  opacity: 1;
}
.client-logo-box img {
  max-height: 60px;
  width: auto;
}

.logo-img {
  height: 45px;
  width: auto;
}
.logo-backdrop {
  background: rgba(255, 255, 255, 0.95);
  padding: 10px 18px;
  border-radius: 8px;
}
.logo-img-footer {
  height: 42px;
  width: auto;
  display: block;
}

@media (max-width: 768px) {
  .hero {
    min-height: 520px;
    padding: 90px 0 50px;
  }
  .hero-content h1 { font-size: 1.9rem; }
}

/* FADE IN ON SCROLL */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hormati preferensi user yang mematikan animasi (aksesibilitas) */
@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.hero .carousel-control-prev,
.hero .carousel-control-next {
  display: none;
}

.about-carousel {
  background: #f4f7ff;
}
.about-carousel .carousel-item img {
  height: 320px;
  width: 100%;
  object-fit: contain;
  padding: 0;
}
.about-carousel .carousel-indicators {
  margin-bottom: 0.75rem;
}
@media (max-width: 768px) {
  .about-carousel .carousel-item img {
    height: 220px;
  }
}
.about-carousel .carousel-indicators {
  margin-bottom: 0.5rem;
}
.about-carousel .carousel-indicators button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin: 0 4px;
}
.footer a { color: #ccc; text-decoration: none; }
.footer a:hover { color: var(--primary); }
