:root {
  --bs-primary: #d5302c;
  --base-color: #d5302c;
  --very-light-base-color: #fbeee1;
  --second-color: #2e365a;
  --third-color: #f8430a;
  --four-color: #3f78e0;
  --bs-primary-rgb: 213, 48, 44;
  --bs-secondary-rgb: 170, 176, 188;
  --primary-font: "Open Sans", sans-serif;
  --alt-font: "Open Sans", sans-serif;
}
.layanan-box {
  top: 8rem; /* default untuk desktop */
}

@media (max-width: 991.98px) {
  .layanan-box {
    top: auto; /* hapus efek top di mobile & tablet */
  }
}

html {
  scroll-behavior: smooth;
}

.bg-base-color {
  background-color: var(--base-color);
}

.bg-very-light-base-color {
  background-color: var(--very-light-base-color);
}

.bg-second-color {
  background-color: var(--second-color);
}

.text-base-color {
  color: var(--base-color);
}

.text-black {
  color: #000000;
}

.text-second-color {
  color: var(--second-color);
}
.display-2 b,
.display-2 strong {
  color: var(--base-color);
  font-weight: bold; /* pastikan tetap bold */
}
/*==========================================================================
* GENERAL
==========================================================================*/
.rounded-5 {
  border-radius: 1.5rem;
}

.bg-soft-primary {
  background-color: #f7f9fd !important;
}

/*--------------------------------------------------------------
# Font
--------------------------------------------------------------*/
.primary-font {
  font-family: "Open Sans", sans-serif;
}

.alt-font {
  font-family: "Open Sans", sans-serif;
}

/*==========================================================================
* BUTTON CSS
==========================================================================*/
.btn-base-color {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--base-color);
  --bs-btn-border-color: var(--base-color);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--base-color);
  --bs-btn-hover-border-color: var(--base-color);
  --bs-btn-focus-shadow-rgb: 92, 140, 229;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--base-color);
  --bs-btn-active-border-color: var(--base-color);
  --bs-btn-active-shadow: 0rem 0.25rem 0.75rem rgba(30, 34, 40, 0.15);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--base-color);
  --bs-btn-disabled-border-color: var(--base-color);
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--base-color);
  --bs-btn-border-color: var(--base-color);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--base-color);
  --bs-btn-hover-border-color: var(--base-color);
  --bs-btn-focus-shadow-rgb: 92, 140, 229;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--base-color);
  --bs-btn-active-border-color: var(--base-color);
  --bs-btn-active-shadow: 0rem 0.25rem 0.75rem rgba(30, 34, 40, 0.15);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--base-color);
  --bs-btn-disabled-border-color: var(--base-color);
}

.gradient-1 {
  background-image: linear-gradient(
    120deg,
    var(--base-color) 10%,
    #ffa406 100%
  );
}
.gradient-1.btn-outline-gradient,
.gradient-1.btn-outline-gradient span {
  background-image: linear-gradient(
      rgba(var(--bs-white-rgb), 0),
      rgba(var(--bs-white-rgb), 0)
    ),
    linear-gradient(120deg, var(--base-color) 10%, #ffa406 100%);
}

/* CUSTOM BUTTON */
.build_button {
  display: inline-flex;
  align-items: center;
  position: relative;
  z-index: 3;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  transition: 0.4s;
  font-family: var(--primary-font);
  font-size: 16px;
  font-weight: 600;
  line-height: 26px;
  text-transform: uppercase;
  color: white;
  background: var(--base-color);
  border-radius: 50px 50px 50px 50px;
  padding: 8px 8px 8px 30px;
  gap: 20px;
  &::before {
    content: "";
    z-index: -1;
    position: absolute;
    top: 50%;
    left: 100%;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--second-color);
    transform-origin: 100% 50%;
    transform: scale3d(1, 2, 1);
    transition: transform 0.4s, opacity 0.4s;
    transition-timing-function: cubic-bezier(0.7, 0, 0.9, 1);
  }
  i {
    position: relative;
    z-index: 2;
    transition: 0.4s;
    color: white;
    background: #017eb9;
    font-size: 26px;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px 50px 50px 50px;
  }
  &:hover {
    color: white;
    i {
      color: var(--second-color);
      background: white;
      transform: rotate(45deg);
    }
    &::before {
      transform: scale3d(10, 9, 1);
      transform-origin: 110% 55%;
    }
  }
}

.build_button-wa {
  display: inline-flex;
  align-items: center;
  position: relative;
  z-index: 3;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  transition: 0.4s;
  font-family: var(--primary-font);
  font-size: 16px;
  font-weight: 600;
  line-height: 26px;
  text-transform: uppercase;
  color: var(--base-color);
  background: var(--bs-white);
  border-radius: 50px 50px 50px 50px;
  padding: 8px 8px 8px 30px;
  gap: 20px;
  &::before {
    content: "";
    z-index: -1;
    position: absolute;
    top: 50%;
    left: 100%;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--base-color);
    transform-origin: 100% 50%;
    transform: scale3d(1, 2, 1);
    transition: transform 0.4s, opacity 0.4s;
    transition-timing-function: cubic-bezier(0.7, 0, 0.9, 1);
  }
  i {
    position: relative;
    z-index: 2;
    transition: 0.4s;
    color: white;
    background: #017eb9;
    font-size: 26px;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px 50px 50px 50px;
  }
  &:hover {
    color: white;
    i {
      color: var(--second-color);
      background: white;
      transform: rotate(45deg);
    }
    &::before {
      transform: scale3d(10, 9, 1);
      transform-origin: 110% 55%;
    }
  }
}

.build_button-detail {
  display: inline-flex;
  align-items: center;
  position: relative;
  z-index: 3;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  transition: 0.4s;
  font-family: var(--primary-font);
  font-size: 14px;
  font-weight: 600;
  line-height: 26px;
  text-transform: uppercase;
  color: white;
  background: var(--base-color);
  border-radius: 50px 50px 50px 50px;
  padding: 8px 8px 8px 30px;
  gap: 20px;
  &::before {
    content: "";
    z-index: -1;
    position: absolute;
    top: 50%;
    left: 100%;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--second-color);
    transform-origin: 100% 50%;
    transform: scale3d(1, 2, 1);
    transition: transform 0.4s, opacity 0.4s;
    transition-timing-function: cubic-bezier(0.7, 0, 0.9, 1);
  }
  i {
    position: relative;
    z-index: 2;
    transition: 0.4s;
    color: white;
    background: #017eb9;
    font-size: 17px;
    width: 27px;
    height: 27px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px 50px 50px 50px;
  }
  &:hover {
    color: white;
    i {
      color: var(--second-color);
      background: white;
      transform: rotate(45deg);
    }
    &::before {
      transform: scale3d(10, 9, 1);
      transform-origin: 110% 55%;
    }
  }
}

/*==========================================================================
* START WA/ APPO BTN / SCROLL TOP
==========================================================================*/
.showhide {
  visibility: hidden;
  opacity: 0;
}

.showhide.show {
  opacity: 1;
  visibility: visible;
}

.flt-btn {
  border-radius: 30px;
  display: flex;
  height: 45px;
  min-width: 45px;
  position: fixed;
  cursor: pointer;
  text-align: center;
  z-index: 100;
  align-items: center;
  justify-content: center;
  transition: all 0.8s;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  -ms-border-radius: 30px;
  -o-border-radius: 30px;
}

.appo-btn {
  position: fixed;
  right: 20px;
  bottom: 100px;
  line-height: 40px;
  color: #fff;
  background: var(--base-color);
}

.appo-btn a {
  color: #fff !important;
  display: block;
}

.wa-btn {
  position: fixed;
  right: 20px;
  bottom: 40px;
  line-height: 48px;
  color: #fff;
  background: linear-gradient(to right, #61dc6a 0, #2bc911 100%, #61dc6a 200%);
}

.wa-btn a {
  color: #fff !important;
  height: 100%;
}

.flt-btn span {
  vertical-align: middle;
  font-size: 14px;
  letter-spacing: -15px;
  opacity: 0;
  line-height: 45px;
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -ms-transition: all 0.5s;
  -o-transition: all 0.5s;
}

.flt-btn:hover {
  color: #fff;
  padding: 0 20px;
}

.flt-btn:hover span {
  opacity: 1;
  letter-spacing: 0;
  padding-left: 5px;
}

.wa-btn::after {
  z-index: -1;
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 45px;
  height: 45px;
  animation: ripple 1.6s ease-out infinite;
  opacity: 1;
  background: #4bc75a;
  border-radius: 30px;
  -webkit-animation: ripple 1.6s ease-out infinite;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  -ms-border-radius: 30px;
  -o-border-radius: 30px;
}

.appo-btn::after {
  z-index: -1;
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 45px;
  height: 45px;
  animation: ripple 1.7s ease-out infinite;
  opacity: 1;
  background: var(--base-color);
  border-radius: 30px;
  -webkit-animation: ripple 1.7s ease-out infinite;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  -ms-border-radius: 30px;
  -o-border-radius: 30px;
}

button.scroll-top:focus {
  outline: none;
}

.scroll-top.open {
  bottom: 40px;
}

.scroll-top {
  width: 45px;
  height: 45px;
  line-height: 45px;
  position: fixed;
  bottom: 105%;
  right: 25px;
  font-size: 16px;
  border-radius: 50%;
  z-index: 99;
  color: #fff;
  text-align: center;
  cursor: pointer;
  background: var(--base-color);
  transition: 1s ease;
  border: none;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

.scroll-top span {
  color: #fff;
}

.scroll-top:after {
  position: absolute;
  z-index: -1;
  content: "";
  top: 100%;
  left: 5%;
  height: 10px;
  width: 90%;
  opacity: 1;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(0, 0, 0, 0) 80%
  );
  animation: ripple 1.7s ease-out infinite;
  -webkit-animation: ripple 1.7s ease-out infinite;
}

.wa-btn::after {
  z-index: -1;
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 45px;
  height: 45px;
  animation: ripple 1.6s ease-out infinite;
  opacity: 1;
  background: #4bc75a;
  border-radius: 50%;
  -webkit-animation: ripple 1.6s ease-out infinite;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

@keyframes ripple {
  0% {
    transform: scale(0);
    opacity: 1;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
  }

  100% {
    transform: scale(1.5);
    opacity: 0;
    -webkit-transform: scale(1.5);
    -moz-transform: scale(1.5);
    -ms-transform: scale(1.5);
    -o-transform: scale(1.5);
  }
}
/* END WA/ APPO BTN / SCROLL TOP */

.btn-group-very-sm > .btn,
.btn-very-sm {
  --bs-btn-padding-y: 0.4rem;
  --bs-btn-padding-x: 1rem;
  --bs-btn-font-size: 0.7rem;
  --bs-btn-border-radius: 0.4rem;
}

.btn-group-very-sm > .btn-icon.btn,
.btn-icon.btn-very-sm {
  padding-top: 5px;
  padding-bottom: 5px;
}

.btn-group-very-sm > .btn-icon.btn i,
.btn-icon.btn-very-sm i {
  font-size: 0.8rem;
}

/*==========================================================================
* BACKGROUND SECTION
==========================================================================*/
.background-hero {
  position: relative;
  z-index: 1;
  /* overflow: hidden; */
}
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-1 * (200px + 40px) * 7));
  }
}

.slider {
  height: 100px;
  margin: auto;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.slider .slide-track {
  display: flex;
  gap: 40px; /* jarak antar logo */
  animation: scroll 40s linear infinite;
  width: calc((200px + 40px) * 14); /* (lebar + gap) * (jumlah slide × 2) */
}

.slider .slide {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto; /* atur lebar kotak logo */
}

.slider .slide img {
  height: 50px;
  width: auto;
  display: block;
}
.feature-box {
  transition: all 0.3s ease;
  background: transparent; /* default transparan */
}

.feature-box:hover {
  background: #fff; /* berubah jadi putih saat hover */
  box-shadow: 0 0 15px #fff;
  transform: translateY(-4px);
}

.hover-shadow {
  cursor: pointer;
}

.background-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%; /* full width */
  height: 100%; /* full height */
  background: url(../../../images/lain-lain/shape-hero.png) no-repeat center
    center;
  background-size: cover; /* agar gambar menutupi area */
  z-index: -1;
  opacity: 1;
}

@media (max-width: 991.98px) {
  .background-hero::before {
    width: 100%;
    height: 100%;
    background-position: center;
  }
}

.background-1 {
  position: relative;
  z-index: 1;
  /* overflow: hidden; */
}

.background-1::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../../../images/lain-lain/globe-1.png");
  /* background: linear-gradient(to bottom, rgb(255 255 255), rgb(0 0 0 / 0%)),
    url("../../../images/lain-lain/bg-welcome.webp"); */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom;
  z-index: -1;
  opacity: 0.5;
}

.background-2 {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.background-2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../../../images/lain-lain/bg-keunggulan.webp");
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -1;
  opacity: 0.2;
}

.background-3 {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.background-3::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../../../images/lain-lain/wave-1.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  z-index: -1;
  opacity: 0.05;
}

.background-4 {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.background-4::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../../../images/lain-lain/bg-artikel.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top;
  z-index: -1;
  opacity: 0.3;
}

.background-5 {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.background-5::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../../../images/lain-lain/bg-layanan-detail.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  z-index: -1;
  /* opacity: 0.05; */
}

/*==========================================================================
* Navbar
==========================================================================*/
.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
  color: var(--base-color);
}

.nav-link:focus,
.nav-link:hover {
  color: var(--base-color);
}

.navbar-text a,
.navbar-text a:focus,
.navbar-text a:hover {
  color: var(--base-color);
}

@media (max-width: 991.98px) {
  .navbar-expand-lg .navbar-brand {
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

/* Welcome Text */
.bg-dot.primary {
  background-image: radial-gradient(var(--base-color) 2px, transparent 2.5px);
}

/* CKE Editor*/
.description-list a {
  color: var(--main-color);
}

.description-list ul li {
  list-style: initial;
}

.description-list p strong {
  color: var(--black);
}

.description-list hr {
  margin-top: 0.25rem !important;
  margin-bottom: 0.25rem !important;
}

.header-title p strong {
  /* font-style: italic; */
  text-decoration: underline;
}

.desc-cta p {
  margin-bottom: 0px;
}

/* Artikel */
article .artikel:hover .card-body a.btn-outline-primary {
  background-color: var(--bs-primary) !important;
  color: #ffffff !important;
}

.truncate-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
}

.truncate-text-2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
}

.truncate-text p {
  line-height: 1.6;
}

/* header page */
.image-wrapper.bg-overlay:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background-color: #000000;
  opacity: 0.99;
  background: linear-gradient(to right, rgb(16 26 37), rgb(0 0 0 / 32%));
}

/*--------------------------------------------------------------
  SCROLL
----------------------------------------------------------------*/
::-webkit-scrollbar {
  width: 5px;
  background: var(--theme_black);
  opacity: 0.2;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

::-webkit-scrollbar-track {
  box-shadow: none;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

::-webkit-scrollbar-thumb {
  background: var(--base-color);
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--base-color);
  -webkit-transition: all 0.4s ease-in-out !important;
  transition: all 0.4s ease-in-out !important;
}

.cs-icon20-0 {
  font-size: 20px;
  line-height: 0px;
}

/*--------------------------------------------------------------
# FOOTER SECTION
--------------------------------------------------------------*/
.cs_footer_widget_seperator {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 5px;
  margin-bottom: 15px;
}

.cs_footer_widget_seperator span {
  height: 5px;
  width: 80px;
  border-radius: 5px;
}

.cs_footer_widget_seperator span:nth-child(2) {
  width: 15px;
}

.cs_footer_widget_seperator span:nth-child(3) {
  width: 6px;
}

/* Sosmed */
.cs_footer_widget .cs_social_btns.cs_style_1 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 10px;
}

.cs_social_btns.cs_style_1 a {
  width: 26px;
  height: 26px;
  font-size: 11px;
  /* border: 1px solid; */
  border-color: var(--medium-gray);
}

.cs_footer_widget .cs_social_btns.cs_style_1 a {
  height: 30px;
  width: 30px;
  border-radius: 6px;
  background-color: rgba(105, 105, 105, 0.1);
  color: var(--base-color);
  font-size: 16px;
}

.cs_footer_widget .cs_social_btns.cs_style_1 a:hover {
  background-color: var(--base-color);
  /* background: linear-gradient(to right, #FB6905, #FFA506); */
  /* -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; */
  color: white;
}

.cs_center {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.navbar-clone {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
  position: fixed !important;
  z-index: 1008;
  top: 0;
  left: 0;
  transform: translateY(-115%);
  transition: all 0.3s ease-in-out, padding-right 0s;
}

.navbar-stick {
    transform: translateY(0);
}

.wrapper.angled.upper-start:before {
    border-right-color: transparent !important;
    border-left-width: 100vw;
    border-top-width: 4.1rem;
    top: -4rem;
}

.produk-item{
    transition: all 0.3s ease-in-out;
}

.produk-item:hover{
    background-color: var(--bs-primary) !important;
    transition: all 0.3s ease-in-out;
}

.produk-item:hover h3{
    color: white !important;
    transition: all 0.3s ease-in-out;
}

.produk-item:hover .btn{
    background-color: white !important;
    color: var(--bs-primary) !important;
    transition: all 0.3s ease-in-out;
}

.progress-wrap {
    position: fixed;
    left: 20px;
    bottom: 40px;
    width: 2.3rem;
    height: 2.3rem;
    cursor: pointer;
    display: block;
    border-radius: 100%;
    box-shadow: inset 0 0 0 .1rem rgba(128, 130, 134, .25);
    z-index: 1010;
    opacity: 0;
    visibility: hidden;
    transform: translateY(.75rem);
    transition: all .2s linear, margin-right 0s;
}