
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');
:root {
    --nav-h: 64px;
    --purple: #7014bc;
    --purple-200: #f0e7f8;
    --lavender: #fafafa;
}

body {
      font-family: "Plus Jakarta Sans", sans-serif;

}

.navbar .nav-link {
    position: relative;
    transition: color 0.25s ease, background-color 0.25s ease,
        font-weight 0.25s ease;
}



.navbar .nav-link.active::after {
    transform: scaleX(1);
}

.navbar .nav-link {
    color: #1e1e1d;
}
.navbar .nav-link.active {
    color: #7014bc;
}

.navbar .nav-link {
    font-weight: 500;
}
.navbar .nav-link.active {
    font-weight: 600;
}

/* hero */
.hero {
    min-height: calc(100vh - var(--nav-h));
}
.col-hero-1 {
    flex-direction: column;
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
}
.hero-description {
    font-size: 16px;
    font-weight: 400;
    color: #878787;
    margin-top: 24px;
    margin-bottom: 48px;
}
.hero-description-mobile {
    font-size: 16px;
    font-weight: 400;
    color: #878787;
    margin-top: 12px;
    margin-bottom: 12px;
}
.btn-purple {
    background-color: #7014bc;
    border-color: #7014bc;
}
.btn-purple:hover {
    background-color: #5f10a3;
    border-color: #5f10a3;
}
.btn-outline-purple {
    border-color: #7014bc;
    color: #7014bc;
}
.btn-outline-purple:hover {
    background-color: #7014bc;
    color: #fff;
}

.title-hero {
    font-size: 51px;
    font-weight: 700;
}

.text-purple {
    color: #7014bc;
}

/* Kotak carousel */
.v-carousel {
    position: relative;
    height: 100vh; /* sesuaikan */
    overflow: hidden;
    border-radius: 20px;
}

/* Fade top-bottom agar halus */
.v-carousel::before,
.v-carousel::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 64px;
    z-index: 2;
    pointer-events: none;
}
.v-carousel::before {
    top: 0;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 1),
        rgba(255, 255, 255, 0)
    );
}
.v-carousel::after {
    bottom: 0;
    background: linear-gradient(
        to top,
        rgba(255, 255, 255, 1),
        rgba(255, 255, 255, 0)
    );
}

.v-inner {
    display: flex;
    flex-direction: column;
    gap: 18px;
    animation: v-up 24s linear infinite;
    will-change: transform;
}
.v-carousel[data-dir="down"] .v-inner {
    animation-name: v-down;
}

/* Pause saat hover/touch */
.v-carousel:hover .v-inner {
    animation-play-state: paused;
}

/* Item */
.v-item img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    background: #fff;
}

.carousel-inner {
  display: flex;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.carousel-item {
  min-width: 100%;
  transition: transform 0.8s ease-in-out;
}

.carousel-item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}


/* Keyframes: karena list diduplikasi, geser 50% panjangnya */
@keyframes v-up {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}
@keyframes v-down {
    0% {
        transform: translateY(-50%);
    }
    100% {
        transform: translateY(0);
    }
}

/* Responsif */
@media (max-width: 991.98px) {
    .v-carousel {
        height: 420px;
    }
}
@media (max-width: 575.98px) {
    .v-carousel {
        height: 320px;
    }
}

/* Aksesibilitas: hormati reduced motion */
@media (prefers-reduced-motion: reduce) {
    .v-inner {
        animation: none !important;
    }
}

/* end hero */

/* about */
#about {
    margin-top: 50px;
}
.text-title-about {
    font-size: 25px;
    color: #1e1e1d;
    font-weight: 600;
}
.img-ellipse {
    position: absolute;
    top: -300px;
}
/* end about */

.section {
    margin-top: 80px;
}
.section:first-of-type {
    margin-top: 0;
}

.bg-primary-light {
    background-color: var(--purple-200);
}

.bg-light {
    background-color: #f0e7f8 !important;
}

.card-soft {
    background: #fafafa;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.card-lavender {
    background: var(--lavender);
    border-radius: 16px;
}

.card-list-process {
    background-color: var(--purple-200);
}

/* badge/icon bulat */
.icon-pill {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #f4ecff;
    color: var(--purple);
    font-size: 16px;
}
.icon-pill-about {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #f4ecff;
    color: var(--purple);
    font-size: 16px;
}

/* bullet cek */
.check-dot {
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: var(--purple);
}

/* util warna */
.text-purple {
    color: var(--purple) !important;
}

/* sticky hanya aktif >= lg */
@media (min-width: 992px) {
    .position-sticky-lg {
        position: sticky;
        top: 24px;
    }
}


.icon-pill {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: #f4ecff;
    color: #7b2ff7;
    font-size: 20px;
}
.btn-pill {
    border-radius: 999px;
    padding: 0.7rem 1.1rem;
}
.btn-gradient {
    background: linear-gradient(180deg, #7014bc, #9a5ad0);
    color: #fff;
    border: 1px solid #b789dd;
}
.btn-ghost-dot {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: var(--purple-200);
}
.text-purple {
    color: #7b2ff7 !important;
}

.parx {
    will-change: transform, opacity;
    transition: transform 0.06s linear, opacity 0.12s linear;
}
.card-3d {
    transform-style: preserve-3d;
}
.sticky-top-80 {
    position: sticky;
    top: 80px;
}
.pricing-step {
    position: relative;
}
.card-3d {
    will-change: transform;
}

/* Tombol gradient vertikal */
.btn-gradient {
    background: linear-gradient(180deg, #7b2ff7, #9e5ef7);
    color: #fff;
    border: none;
}
.btn-gradient:hover {
    filter: brightness(0.95);
}

.text-layanan-2 {
    font-weight: 600;
    font-size: 32px;
    color: #1e1e1d;
}

#pricing-sticky {
    padding-bottom: 0;
}

#pricing-sticky .pricing-step:last-child {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.nav-pills .nav-link {
    border-radius: 16px;
    padding: 0.5rem 1.25rem;
    font-weight: 400;
    transition: background-color 0.3s ease;
    color: #1e1e1d;
    height: 44px;
}
.nav-pills .nav-link.active {
    background-color: #7014bc;
}
.card-portolio:hover {
    transform: translateY(-4px);
    transition: 0.3s ease;
}

/* faq */
.text-purple {
    color: #7014bc;
}
.object-fit-contain {
    object-fit: contain;
}
.accordion-button:not(.collapsed) {
    background-color: transparent;
    color: #1e1e1d;
}
.accordion-button:focus {
    box-shadow: none;
}
.accordion-item {
    border: none !important;
    border-bottom: 1px solid #ededed !important;
}

/* end faq */

/* artikel */

.card-article{
  border-radius: 18px;
  background: #fff;
  transition: box-shadow .25s ease;
}
.card-article .media{
  position: relative;
}
.card-article img{
  width: 100%; height: 100%;
}
.card-article:hover{
    cursor: pointer;
 }

/* Overlay gelap, bukan ke putih */
.overlay-dark{
  position: absolute; inset: 0;
  display: flex; align-items: end;
}
.overlay-body{ padding: 18px 18px 22px 18px; width: 70%; }
.title{ color: #fff; font-weight: 700; font-size: 20px; line-height: 1.3; }
.excerpt{ color: rgba(255,255,255,.85); font-size: 14px; font-weight: 300; }

/* Avatar author */
.avatar{
  width: 40px; height: 40px; font-size: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
}

/* CTA mengambang kanan-bawah */
.cta-wrap{
  position: absolute; right: 0px; bottom: 0px;
  width: 8%;
}
.cta-btn{
  text-decoration: none;
  font-weight: 700;
  color: #FFFFFF;
  width: 100%;
}
.cta-btn .ico{
  width: 28px; height: 28px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #F0E7F8; color: #fff;
}
.cta-btn:hover{ filter: brightness(1.05); }

/* Line clamp util */
.line-clamp-2{
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* Responsif: tinggi card menyesuaikan viewport di mobile */
@media (max-width: 576px){
  .card-article .media{ height: min(62vw, 360px); }
  .overlay-body{ padding: 14px; }
  .title{ font-size: 18px; }
}



/* end artikel */

/* cta */
#cta .btn-outline-light {
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}
#cta .btn-outline-light:hover {
    background-color: #fff;
    color: #7014bc !important;
}

/* end cta */

/* footer */
.bg-purple {
    background-color: #7014bc !important;
}
.text-purple {
    color: #7014bc !important;
}
footer ul li {
    cursor: default;
    color: #1e1e1d;
}
footer ul li:hover {
    color: #7014bc;
}
footer .btn-outline-light {
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}
footer .btn-outline-light:hover {
    background-color: #fff;
    color: #7014bc !important;
}

/* end footer */

/* portofolio */
/* container tetap center di desktop */
.container-portofolio{
  display:flex;
  justify-content:center;
}

.folioTabs{
  display:flex;
  align-items:center;
  gap:8px;
  background:#f0e7f8;
  padding:12px;
  border-radius:12px;
  color:#1e1e1d;

  flex-wrap:nowrap;
  overflow-x:auto;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
}

.folioTabs .nav-item{
  flex:0 0 auto;
}

.folioTabs .nav-link{
  display:inline-flex;
  align-items:center;
  white-space:nowrap;
  padding:.5rem .9rem;
  border-radius:999px;
}

@media (min-width: 768px){
  .folioTabs{ overflow:visible; }
}

/* opsional: sembunyikan scrollbar webkit */
.folioTabs::-webkit-scrollbar{ height:6px; }
.folioTabs::-webkit-scrollbar-thumb{ border-radius:6px; background:#d8c6ee; }

/* end portofolio */



/* hero  mobile */
/* Efek agar slide kedua terlihat sedikit */
#heroCarousel {
  overflow: visible; /* agar sisi kanan slide berikutnya terlihat */
}

#heroCarousel .carousel-inner {
  display: flex;
  gap: 12px; /* jarak antar slide */
}

#heroCarousel .carousel-item {
  flex: 0 0 80%; /* tampilkan 1.2 item: 80% lebar + gap */
  transition: transform 0.8s ease-in-out;
}

#heroCarousel .carousel-item img {
  border-radius: 16px;
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Pastikan carousel auto-scroll tetap berfungsi */
.hero-mobile {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 0;
}

.hero-container {
  width: 100%;
  max-width: 480px;
  text-align: center;
  padding: 0px;
}

.hero-title {
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.4;
}

.hero-title span {
  color: #7014BC;
}

.hero-desc {
  font-size: 0.95rem;
  color: #555;
  margin: 12px 0 20px;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  align-items: center;
  width: 100%;
}


.btn-primary, .btn-outline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 16px;
  height: 42px;
  padding: 0 12px 0 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(180deg, #7014BC, #9A5AD0);
  color: white;
  border: 1px solid #B789DD;
}

.btn-outline {
  background: transparent;
  color: #7014BC;
  border: 1px solid #B789DD;
}

.btn-icon {
  background-color: #F0E7F8;
  height: 24px;
  width: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-icon img {
  width: 13px;
  height: 13px;
}

/* SLIDER SECTION */
.slider-wrapper {
  margin-top: 24px;
  overflow: hidden;
  width: 100%;
  position: relative;
}

.slider-track {
  display: flex;
  gap: 12px;
  animation: scrollSlides 10s linear infinite;
  will-change: transform;
}

.slide {
  flex: 0 0 85%; /* tampilkan 85% lebar viewport */
  border-radius: 12px;
  overflow: hidden;
  background: #f9f9f9;
}

.slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Animasi jalan ke kanan */
@keyframes scrollSlides {
  0% {
    transform: translateX(0);
  }
  45% {
    transform: translateX(-87%);
  }
  50% {
    transform: translateX(-87%);
  }
  95% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(0);
  }
}

/* end hero mobile */


/* ====== Card dengan border gambar (tanpa putus, anti kepotong) ====== */
.service-card{
  position: relative;
}

/* Border/ornamen jadi layer terpisah dan MASUK ke dalam card (inset) */
.service-card::before{
  content: "";
  position: absolute;
  /* inset bikin gambar tidak mepet tepi, jadi tidak terpotong radius/tepi container */
  inset: 8px;                /* coba 6–10px sesuai aset */
  background-image: url("/assets/images/border-card.png");
  background-size: 100% 100%;
  height: 260px;    /* selaraskan dengan bentuk sudut border */
  pointer-events: none;
  z-index: 0;                /* di belakang konten */
}

/* Konten selalu di atas border dekoratif */
.service-card > *{
  position: relative;
  z-index: 1;
}

/* Tombol absolut */
.service-card .service-btn{
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
}

/* ====== HANYA MOBILE ====== */
@media (max-width: 767.98px){
  .service-card .service-btn{
    width: 72%;
    right: 12px;
    bottom: 12px;
  }
  .btn-sm-service {
    font-size: 10px !important
  }
  .btn-icon img {
    width: 10px !important
  }
  .btn-icon {
    width: 20px;
    height: 20px;
  }
  .service-title {
    font-size: 18px !important;
  }

  .service-desc {
    font-size: 14px !important;
  }
}


.service-card > .p-4 { position: relative; z-index: 1; }
.service-btn { position: absolute; right: 10px; bottom: -14px; z-index: 2; }

@media (max-width: 991.98px) {
  /* Navbar fullscreen */
  .navbar .navbar-collapse {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    padding: 80px 24px 100px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: transform 0.4s ease;
    transform: translateY(-100%);
  }
  .navbar-collapse.show {
    transform: translateY(0);
  }

  /* Nav links */
  .navbar .nav-link {
    font-size: 18px;
    padding: 10px 0;
    display: block;
    color: #1E1E1D;
    transition: color 0.3s ease;
  }
  .navbar .nav-link.active,
  .navbar .nav-link:hover {
    color: #7014BC !important;
  }

  /* Tombol Hubungi di bawah */
  .navbar .d-lg-none {
    margin-top: auto;
  }

  /* Hamburger jadi icon "X" */
  .custom-toggler {
    border: none;
    background: transparent;
    position: relative;
    z-index: 10000;
    width: 50px;
    height: 34px;
    box-shadow: none;
  }
  .navbar-toggler:focus{
    box-shadow: none;
  }

  .custom-toggler .navbar-toggler-icon {
    background: none;
    width: 100%;
    height: 2px;
    background-color: #1E1E1D;
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
  }

  .custom-toggler .navbar-toggler-icon::before,
  .custom-toggler .navbar-toggler-icon::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #1E1E1D;
    left: 0;
    transition: all 0.3s ease;
  }
  .custom-toggler .navbar-toggler-icon::before {
    top: -8px;
  }
  .custom-toggler .navbar-toggler-icon::after {
    top: 8px;
  }

  /* Animasi jadi X */
  .custom-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-color: transparent;
  }
  .custom-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg);
    top: 0;
  }
  .custom-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg);
    top: 0;
  }
}

.cat-panel {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 12px;
  background: #fff;
}

.cat-row {
  padding: 10px 8px;
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
}
.text-label {
    color: #878787;
    font-size: 16px;
    font-weight: 400;
}
.cat-row:hover {
  background: #F8F5FD; /* ungu sangat muda */
}

/* Checkbox kotak rapi */
.cat-checkbox {
  margin-top: 0;               /* sejajar teks */
  width: 18px;
  height: 18px;
  border: 2px solid #CFCFCF;
  border-radius: 4px;          /* kotak rounded seperti UI */
  box-shadow: none;
}
.cat-checkbox:focus { box-shadow: none; }
.cat-checkbox:checked {
  background-color: #7014BC;
  border-color: #7014BC;
}

/* Hilangkan border default form-check Bootstrap pada container label */
.form-check-input.cat-checkbox {
  float: none;
  margin-left: 0;
}
